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-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 | |
- Author: L. C. Rees
- Keywords: WSGI dispatch middleware web HTTP decorators
- License: BSD
-
Categories
- Development Status :: 4 - Beta
- Environment :: Web Environment
- Intended Audience :: Developers
- License :: OSI Approved :: BSD License
- Natural Language :: English
- Operating System :: OS Independent
- Programming Language :: Python
- Topic :: Internet :: WWW/HTTP
- Topic :: Internet :: WWW/HTTP :: Dynamic Content
- Topic :: Internet :: WWW/HTTP :: WSGI
- Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware
- Package Index Owner: lcrees
- DOAP record: wsgize-0.4.xml
