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

This version
History Node

0.4

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 Jan 6, 2007
wsgize-0.4-py2.5.egg
(6.7 kB) Copy SHA256 Hash SHA256
Egg 2.5 Jan 6, 2007
wsgize-0.4.tar.bz2
(7.7 kB) Copy SHA256 Hash SHA256
Source None Jan 6, 2007
wsgize-0.4.tar.gz
(7.5 kB) Copy SHA256 Hash SHA256
Source None Jan 6, 2007
wsgize-0.4.win32.exe
(66.8 kB) Copy SHA256 Hash SHA256
Windows Installer any Jan 6, 2007
wsgize-0.4.zip
(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