This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

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:

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

Release History

Release History

0.2.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
wsgi2cgi-0.2.1.tar.gz (4.3 kB) Copy SHA256 Checksum SHA256 Source Jul 18, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting