Skip to content
A WSGI-compliant Python web server.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
docs
scotchwsgi
tests
.gitignore
MANIFEST
README.rst
run_simple.py
setup.py

README.rst

ScotchWSGI - Yet Another Web Server

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.

Installation

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

Usage

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
You can’t perform that action at this time.