Skip to main content

The wsgifront module is a simple layer that lets you connect your WSGI application to any type of server. Your WSGI application always receives a consistent environment, regardless of the specific type of server you are using on the front-end. This behavior helps a developer to ensure their code remains server-independent by not relying on server-specific headers, etc. Numerous recipes are included to give you a quick start for deploying your application.

Adapters are currently included for:

  • mod_python

  • CGI

  • PHP (with Python installed anywhere on the host system)

  • Google AppEngine

  • CherryPy using either:

    • Full application server

    • Standalone WSGI server

  • wsgiref.simple_server

    You’ll notice that some of these servers already provide a WSGI-like environment. In those cases wsgifront simply normalizes the environment and passes through the requests.

These adapters are intentionally kept as minimal as possible. Although wsgifront contains sample middleware for URL dispatching, sessions, and error handling, these are completely optional. wsgifront simply provides the server-side adapters and stays out of your way otherwise.

Metadata

Release history Release notifications | RSS feed

This release

0.9.9 This release

0.9.8

0.9.2

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page