wsgi2cgi

Software screenshot:
wsgi2cgi
Dettagli del software:
Versione: 0.2.1
Data di caricamento: 20 Feb 15
Sviluppatore: -
Licenza: Libero
Popolarità: 9

Rating: nan/5 (Total Votes: 0)

wsgi2cgi è uno strumento per eseguire applicazioni CGI sotto Python protocollo & nbsp WSGI, PEP 333.
Questa è una semplice applicazione WSGI che esegue un processo esterno e traduce il protocollo WSGI al Common Gateway Interface (CGI).
Esempio:
& Nbsp; >>> da wsgiref.simple_server import make_server
& Nbsp; >>> wsgi2cgi import
& Nbsp; >>> def app (environ, start_response):
& Nbsp; >>> WAPP = wsgi2cgi.CGI ('/ path / to / executable.cgi')
& Nbsp; >>> ritorno wapp.application (environ, start_response)
& Nbsp; >>> httpd = make_server ('127.0.0.1', 8000, app)
& Nbsp; >>> print "Servire su 127.0.0.1:8000 ..."
& Nbsp; >>> httpd.serve_forever ()
L'applicazione WSGI può essere utilizzato con qualsiasi server di supporto WGSI.
Installa
Il modulo può essere installato dai sorgenti usando setup.py:
& Nbsp; python setup.py install
Alternativelly può essere installato con pip:
& Nbsp; pip installare wsgi2cgi

Requisiti :

  • Python

Altri software di sviluppo -

KDE CIM Browser
KDE CIM Browser

3 Jun 15

quagga
quagga

11 May 15

takatuka
takatuka

11 May 15

gFortunes
gFortunes

3 Jun 15

Commenti a wsgi2cgi

I commenti non trovato
Aggiungi commento
Accendere le immagini!