ScotchWSGI is a WSGI-compliant web server written in Python. Driven by the gevent library, it is able to handle tens of thousands of open connections at once. It currently implements the majority of HTTP/1.1 features, and support for HTTP/2.0 is planned for the future.
Note: This is primarily an educational side project undertaken to explore the specifications of the web and how modern web servers work. While ScotchWSGI aims to be stable, it should currently be viewed as experimental and should not be used in production.
The latest stable version of ScotchWSGI can be installed using pip:
pip install scotchwsgi
Alternatively, you can install from source using setup.py:
python setup.py install
A ScotchWSGI server can be started by simply passing in the name of a module that exposes an app object to the scotchwsgi command:
scotchwsgi file_containing_app