Differences between revisions 17 and 18
Revision 17 as of 2016-06-05 21:53:23
Size: 2735
Comment: Add G-WAN (was previously on WebFrameworks page). Correct arrangement in ascending alphabetical order.
Revision 18 as of 2018-05-19 23:33:04
Size: 2731
Editor: StevePiercy
Comment: Update PyPI link
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
 * [[http://pypi.python.org/pypi/waitress/|Waitress]] - A WSGI server that runs on Windows and UNIX under PyPy, CPython 2.X and CPython 3.X.  * [[http://pypi.org/project/waitress/|Waitress]] - A WSGI server that runs on Windows and UNIX under PyPy, CPython 2.X and CPython 3.X.

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

  • Chaussette - A web server capable of running using multiple different underlying http engines

  • CherryPy - a pythonic, object-oriented HTTP framework

  • Gunicorn - inspired by the Ruby server, Unicorn

  • Rocket - a pure python HTTP server for WSGI applications and static files which runs on cPython 2.5-3.x and Jython 2.5

  • Spawning - a WSGI server which supports multiple processes, multiple threads, green threads, non-blocking HTTP io, and automatic graceful upgrading of code.

  • Tornado - an open source version of the scalable, non-blocking web server and tools that power FriendFeed.

  • Twisted includes a very scalable web server written in Python.

  • Waitress - A WSGI server that runs on Windows and UNIX under PyPy, CPython 2.X and CPython 3.X.

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:

  • G-WAN is a (Linux-only) Web application server that supports servlet scripts written in Python among other languages

  • mod_wsgi embeds Python in the Apache 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.

  • ModPython embeds Python in the Apache HTTP server

  • Nginx WSGI support module for Nginx HTTP server

  • PyWX embeds Python in AOLServer

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.