Commits

Lynn Rees  committed f6d0fe3

[svn]

  • Participants
  • Parent commits a7f6774
  • Branches wsgiserializer

Comments (0)

Files changed (3)

File branches/0.3/trunk/setup.py

     from distutils.core import setup
 
 setup(name='wsgiserialize',
-      version='0.2.1',
+      version='0.3',
       description='''Simple object serialization middleware for WSGI.''',
       long_description='''Simple object serialization middleware for WSGI.
-      Object serialization formats include XML-RPC, JSON, YaML, pickle, and cPickle.''',
+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!\n'}
+
+if __name__ == '__main__':
+    from wsgiref.simple_server import make_server
+    http = make_server('', 8080, simple_app)
+    http.serve_forever()''',
       author='L. C. Rees',
       author_email='lcrees@gmail.com',
       license='BSD',
       packages = ['wsgiserialize'],
       zip_safe = True,
-      keywords='WSGI JSON YaML pickle cPickle XML-RPC serialization',
-      classifiers=['Development Status :: 3 - Alpha',
+      keywords='WSGI JSON YaML pickle cPickle marshal XML-RPC serialization',
+      classifiers=['Development Status :: 4 - Beta',
                     'Environment :: Web Environment',
                     'License :: OSI Approved :: BSD License',
                     'Natural Language :: English',

File branches/0.3/trunk/wsgiserialize/tests/__init__.py

Empty file added.

File branches/0.3/trunk/wsgiserialize/tests/test_wsgiserialize.py

Empty file added.