A python web server focused on async and offbeat network traffic. Named for the thought, "who is a 'twisted' Django R?" (though it works with any WSGI app).
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
A Python web server that makes async and offbeat network traffic easy, fun, and fast.
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.
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.
Twisted is one of the most battle-tested and actively developed Python projects. Until hendrix, however, Twisted has not been part of a mainstream python web server. And that's a shame.
pip install hendrix
cd to the directory where your manage.py file is located and...
hx start --dev
This is roughly the equivalent of running the django devserver.
For more, see the full hendrix documentation.