Simple object serialization middleware for WSGI.
Project description
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
wsgiserialize-0.3.zip
(17.2 kB
view hashes)
wsgiserialize-0.3.tar.gz
(7.3 kB
view hashes)
wsgiserialize-0.3.tar.bz2
(7.5 kB
view hashes)
Built Distributions
wsgiserialize-0.3.win32.exe
(71.9 kB
view hashes)
wsgiserialize-0.3-py2.5.egg
(13.3 kB
view hashes)
wsgiserialize-0.3-py2.4.egg
(13.3 kB
view hashes)