Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
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

Examples:

# Automatically handle HTTP response, header, and iterator generation

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

# Make a normal Python function into a WSGI application

@wsgiwrap()
def app(name):
    return 'Hello ' % name
Release History

Release History

This version
History Node

0.4

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
wsgize-0.4-py2.4.egg (6.8 kB) Copy SHA256 Checksum SHA256 2.4 Egg Jan 6, 2007
wsgize-0.4-py2.5.egg (6.7 kB) Copy SHA256 Checksum SHA256 2.5 Egg Jan 6, 2007
wsgize-0.4.tar.bz2 (7.7 kB) Copy SHA256 Checksum SHA256 Source Jan 6, 2007
wsgize-0.4.tar.gz (7.5 kB) Copy SHA256 Checksum SHA256 Source Jan 6, 2007
wsgize-0.4.win32.exe (66.8 kB) Copy SHA256 Checksum SHA256 any Windows Installer Jan 6, 2007
wsgize-0.4.zip (11.5 kB) Copy SHA256 Checksum SHA256 Source Jan 6, 2007

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting