wsgi2cgi

Software Screenshot:
wsgi2cgi
Software Details:
Version: 0.2.1
Upload Date: 20 Feb 15
Developer: -
Distribution Type: Freeware
Downloads: 9

Rating: nan/5 (Total Votes: 0)

wsgi2cgi is a tool to 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 WSGI application can be used with any server supporting WGSI.

Install

The module can be installed from source using setup.py:

 python setup.py install

Alternativelly it can be installed with pip:

 pip install wsgi2cgi

Requirements:

  • Python

Other Software of Developer -

SWFTools
SWFTools

14 Apr 15

Kante
Kante

20 Feb 15

Animail
Animail

3 Jun 15

LiquoricePlayer
LiquoricePlayer

12 Jul 15

Comments to wsgi2cgi

Comments not found
Add Comment
Turn on images!