Skip to main content

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

Project details

Release history Release notifications

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
wsgize-0.4-py2.4.egg (6.8 kB) Copy SHA256 hash SHA256 Egg 2.4
wsgize-0.4-py2.5.egg (6.7 kB) Copy SHA256 hash SHA256 Egg 2.5
wsgize-0.4.tar.bz2 (7.7 kB) Copy SHA256 hash SHA256 Source None
wsgize-0.4.tar.gz (7.5 kB) Copy SHA256 hash SHA256 Source None
wsgize-0.4.win32.exe (66.8 kB) Copy SHA256 hash SHA256 Windows Installer any (11.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page