Metadata-Version: 1.1
Name: wsgi2cgi
Version: 0.2.1
Summary: Run CGI apps under Python WSGI protocol
Home-page: https://github.com/reidrac/wsgi2cgi
Author: Juan J. Martinez
Author-email: jjm@usebox.net
License: MIT
Description: wsgi2cgi
        ========
        
        Run CGI apps under Python WSGI protocol (PEP 333).
        
        This is a simple WSGI application that executes an external process
        and translates the WSGI protocol to the Common Gateway Interface (CGI).
        
        Example:
        
            from wsgiref.simple_server import make_server
            import wsgi2cgi
        
            def app(environ, start_response):
               wapp = wsgi2cgi.CGI('/path/to/executable.cgi')
               return wapp.application(environ, start_response)
        
            httpd = make_server('127.0.0.1', 8000, app)
            print "Serving on 127.0.0.1:8000..."
            httpd.serve_forever()
        
        The CGI class supports two arguments:
        
         - command: absolute path to the CGI application executable.
         - extra\_env: additional environment variables. 
        
        The WSGI application can be used with any server supporting WSGI.
        
        More information:
        
         - PEP-333: http://www.python.org/dev/peps/pep-0333/
         - WSGI Servers: http://wsgi.readthedocs.org/en/latest/servers.html
        
        
        Install
        -------
        
        The module can be installed using setup.py:
        
            python setup.py install
        
        Alternativelly it can be installed with pip:
        
            pip install wsgi2cgi
        
        
        License
        -------
        
        This package is open source under the MIT license terms. Check COPYING
        file for further details.
        
        
        Author
        ------
        
         - Juan J. Martinez <jjm@usebox.net>
        
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
Classifier: Programming Language :: Python
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
