Why is WSGI necessary? - Deepstash
Why is WSGI necessary?

Why is WSGI necessary?

A traditional web server does not understand or have any way to run Python applications. 

Therefore the Python community came up with WSGI as a standard interface that modules and containers could implement. WSGI is now the accepted approach for running Python web applications.

As shown in the above diagram, a WSGI server simply invokes a callable object on the WSGI application as defined by the PEP 3333 standard.

Some examples of WSGI servers are: Green Unicorn, uWSGI, mod_wsgi and CherryPy.

4

11 reads

CURATED FROM

IDEAS CURATED BY

Similar ideas to Why is WSGI necessary?

WSGI stands for Web Server Gateway Interface and represents a simple calling convention for web servers to forward requests to web applications or frameworks written in the Python programming language. The current version of WSGI, version 1.0.1, is specif...

Overview

The WSGI has two sides:

  • the server/gateway side. This is often running full web server software such as Apache or Nginx.
  • the application/framework side. This is a Python callable, supplied by the Python program or framework.

Between the server and the application, t...

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates