Twisted + Django = hendrix, a Python web server focused on making async and offbeat network traffic easy, fun, and fast.

Mr. D. Reinhardt, with a pair of guitars and tatters of sheet music in the back seat, speeds his convertible westward over the mountains. The campfire carries on without the blessing of his gypsy jazz, but his morning return is as a fearsome, left-handed character – familiar but Twisted(.py)

hendrix

Dive in:

$ sudo apt-get install build-essential libssl-dev libffi-dev python-dev
# (Maybe virtualenv stuff)
$ pip install hendrix
$ pip install django
$ django-admin startproject hey_joe
$ cd hey_joe
$ hx start

Starting Hendrix...
Ready and Listening on port 8000...

hendrix is a tool for handling bytes-on-the-wire to and from your python web application. In this sense, it is similar to mod_wsgi, uWSGI, and gunicorn.

However, hendrix differs from these other technologies in that it is natively asynchronous and designed with background tasks in mind. In this sense, it may serve some projects as a replacement for gevent or celery. You'll be amazed how easy it is to get started with async.

hendrix implements the WSGI protocol, so it can serve applications made with django, pyramid, flask and other WSGI frameworks. However, hendrix views your web as just another network resource - in fact, this is central to the hendrix philosophy.

More about the hendrix philosophy here.

Getting started

See the Quickstart or FAQ.