skip to navigation
skip to content

wsgize 0.4

WSGI without the WSGI

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
File Type Py Version Uploaded on Size # downloads
wsgize-0.4.win32.exe (md5) MS Windows installer any 2007-01-06 23:16:34 65KB 162
wsgize-0.4.tar.gz (md5) Source 2007-01-06 23:16:16 7KB 220
wsgize-0.4.zip (md5) Source 2007-01-06 23:16:44 11KB 221
wsgize-0.4-py2.5.egg (md5) Python Egg 2.5 2007-01-06 23:17:01 6KB 439
wsgize-0.4.tar.bz2 (md5) Source 2007-01-06 23:16:08 7KB 268
wsgize-0.4-py2.4.egg (md5) Python Egg 2.4 2007-01-06 23:16:54 6KB 438

Log in to rate this package.