skip to navigation
skip to content

wsgize 0.4

WSGI without the WSGI

Downloads ↓

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-py2.4.egg (md5) Python Egg 2.4 2007-01-06 6KB 866
wsgize-0.4-py2.5.egg (md5) Python Egg 2.5 2007-01-06 6KB 823
wsgize-0.4.tar.bz2 (md5) Source 2007-01-06 7KB 527
wsgize-0.4.tar.gz (md5) Source 2007-01-06 7KB 472
wsgize-0.4.win32.exe (md5) MS Windows installer any 2007-01-06 65KB 287
wsgize-0.4.zip (md5) Source 2007-01-06 11KB 491