[Catalog-sig] PyPI WSGI frontend

Ian Bicking ianb at colorstudy.com
Mon Mar 14 09:02:36 CET 2005

I implemented PyPI as a WSGI application.  It's fairly trivial, and 
doesn't effect anything except pypi.cgi (actually doesn't effect that 
file, but is an alternative to that code).  The WSGI version is here:


And the CGI version I based it on (only slightly different from CVS):


I'm not 100% sure if PyPI is threadsafe, or serves multiple requests 
from a single process properly, but I haven't seen anything that would 
make me expect a problem.  So this should be sufficient to get it to run 
under mod_python or Twisted or whatever.

Ian Bicking  /  ianb at colorstudy.com  / http://blog.ianbicking.org

More information about the Catalog-sig mailing list