Metadata-Version: 2.0 Name: wsgigzip Version: 0.1.4 Summary: Decorator for flup's gzip compression WSGI middleware. Home-page: https://bitbucket.org/lcrees/wsgigzip/ Author: Lynn C. Rees Author-email: lcrees@gmail.com License: BSD Keywords: WSGI middleware compression gzip flup decorator Platform: UNKNOWN Classifier: Development Status :: 4 - Beta Classifier: Environment :: Web Environment Classifier: License :: OSI Approved :: BSD License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware Requires: setuptools Decorator for flup's gzip compression WSGI middleware ===================================================== Usage example:: from wsgigzip import gzip @gzip() def index(environ, start_response): start_response('200 OK', [('Content-type', 'text/plain')]) return ['Home Page'] if __name__ == '__main__': from wsgiref.simple_server import make_server http = make_server('', 8080, index) http.serve_forever()