Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

WSGI without the WSGI

Project Description

Middleware for WSGI-enabling Python callables including:

  • Middleware that makes non-WSGI Python functions, callable classes, or methods into WSGI applications
  • Middleware that automatically handles generating WSGI-compliant HTTP response codes, headers, and compliant iterators
  • An HTTP response generator
  • A secondary WSGI dispatcher


# Automatically handle HTTP response, header, and iterator generation

def app(environ, start_response):
    return 'Hello World'

# Make a normal Python function into a WSGI application

def app(name):
    return 'Hello ' % name

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(6.8 kB) Copy SHA256 Hash SHA256
Egg 2.4 Jan 6, 2007
(6.7 kB) Copy SHA256 Hash SHA256
Egg 2.5 Jan 6, 2007
(7.7 kB) Copy SHA256 Hash SHA256
Source None Jan 6, 2007
(7.5 kB) Copy SHA256 Hash SHA256
Source None Jan 6, 2007
(66.8 kB) Copy SHA256 Hash SHA256
Windows Installer any Jan 6, 2007
(11.5 kB) Copy SHA256 Hash SHA256
Source None Jan 6, 2007

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting