Differences between revisions 7 and 13 (spanning 6 versions)
Revision 7 as of 2009-08-19 11:13:43
Size: 1692
Editor: dslc-082-082-174-144
Comment: Found Nginx WSGI module an seems to be in use nowadays
Revision 13 as of 2011-09-02 18:07:20
Size: 2492
Editor: rrcs-97-77-193-195
Comment: Add links to TwistedWeb and Rocket
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
  * TwistedMatrix includes a very scalable web server written in Python.
  * [[http://www.amk.ca/python/code/medusa.html|Medusa, a simple framework for standalone server applications]]
  * Twisted includes [[http://twistedmatrix.com/trac/wiki/TwistedWeb|a very scalable web server]] written in Python.
  * [[http://www.amk.ca/python/code/medusa.html|Medusa, a simple framework for standalone server applications (Last updated in 2003)]]
Line 13: Line 13:
  * [[https://launchpad.net/rocket/|Rocket]] - a pure python HTTP server for WSGI applications and static files which runs on cPython 2.5-3.x and Jython 2.5
  * [[http://pypi.python.org/pypi/Spawning/| Spawning]] - a WSGI server which supports multiple processes, multiple threads, green threads, non-blocking HTTP io, and automatic graceful upgrading of code.
  * [[http://www.tornadoweb.org/|Tornado]] - an open source version of the scalable, non-blocking web server and tools that power FriendFeed.
Line 22: Line 25:
  * [[http://modjy.xhaus.com/|Modjy]] embeds a jython interpreter in Java Servlet containers, e.g. Tomcat, Glassfish, Websphere, etc, and supports WSGI. Distributed with jython since March 2009.
Line 27: Line 31:
CategoryPythonWebsite CategoryPythonWebsite CategoryJython CategoryJython

Web Servers and Python

Python-based Web servers have been available in the standard library for many years (see the BaseHTTPServer, SimpleHTTPServer and CGIHTTPServer modules). To address various issues of scalability, robustness and convenience with such existing servers, other server frameworks and solutions have been developed since that time.

Web Servers written in Python

Web Servers embedding Python

In addition to the above, some non-Python-based Web servers support Python-based applications by embedding the Python virtual machine for improved performance:

  • mod_wsgi embeds Python in the Apache HTTP server

  • ModPython embeds Python in the Apache HTTP server

  • PyWX embeds Python in AOLServer

  • Nginx WSGI support module for Nginx HTTP server

  • Modjy embeds a jython interpreter in Java Servlet containers, e.g. Tomcat, Glassfish, Websphere, etc, and supports WSGI. Distributed with jython since March 2009.

Standard Library Technologies

  • BaseHTTPServer (along with successors such as DocXmlRpcServer) can be considered as the original Python Web framework, but it really just provides the ability to process HTTP requests and to generate responses using a relatively primitive API. Some WebFrameworks use it as the basis for serving content, however.


CategoryPythonWebsite CategoryJython CategoryJython

WebServers (last edited 2018-05-19 23:33:35 by StevePiercy)

Unable to edit the page? See the FrontPage for instructions.