wsgiserialize 0.3
Simple object serialization middleware for WSGI.
Object serialization middleware for WSGI.
Supported object serialization formats include:
* XML-RPC
* JSON
* YaML
* marshal
* pickle
* cPickle
# Sample usage:
from wsgiserializer.jsonize import jsonize
@jsonize
def simple_app(environ, start_response):
start_response('200 OK', [('Content-type','text/plain')])
return {'test':'Hello world!'}
if __name__ == '__main__':
from wsgiref.simple_server import make_server
http = make_server('', 8080, simple_app)
http.serve_forever()
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| wsgiserialize-0.3-py2.4.egg (md5) | Python Egg | 2.4 | 2006-12-16 | 12KB | 809 |
| wsgiserialize-0.3-py2.5.egg (md5) | Python Egg | 2.5 | 2006-12-16 | 12KB | 859 |
| wsgiserialize-0.3.tar.bz2 (md5) | Source | 2006-12-16 | 7KB | 504 | |
| wsgiserialize-0.3.tar.gz (md5) | Source | 2006-12-16 | 7KB | 539 | |
| wsgiserialize-0.3.win32.exe (md5) | MS Windows installer | any | 2006-12-16 | 70KB | 255 |
| wsgiserialize-0.3.zip (md5) | Source | 2006-12-16 | 16KB | 477 | |
- Author: L. C. Rees
- Keywords: WSGI JSON YaML pickle cPickle marshal XML-RPC serialization
- License: BSD
-
Categories
- Development Status :: 4 - Beta
- Environment :: Web Environment
- License :: OSI Approved :: BSD License
- Natural Language :: English
- Operating System :: OS Independent
- Programming Language :: Python
- Topic :: Internet :: WWW/HTTP :: Dynamic Content
- Topic :: Internet :: WWW/HTTP :: WSGI
- Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware
- Package Index Owner: lcrees
- DOAP record: wsgiserialize-0.3.xml
