A WSGI Server for Circus
Project description
Chaussette is a WSGI server. The particularity of Chaussette is that it can either bind a socket on a port like any other server does or run against already opened sockets.
That makes Chaussette the best companion to run a WSGI or Django stack under a process and socket manager, such as Circus.
Quick Start
Running:
chaussette
starts a very simple HTTP sample server on port 8080.
Starting a WSGI application using chaussette is simply a matter of calling:
chaussette examples.tornadoapp.wsgiapp
Chaussette can also serve tornado (non WSGI) application:
chaussette --backend tornado examples.tornadoapp.tornadoapp
The simple_chat example can be started as:
chaussette --backend socketio examples.simple_chat.chat.app
Note that the two previous examples are not backend agnostic, since they are not (pure) WSGI applications.
A flask based pure WSGI application can be started with most backends:
chaussette --backend gevent examples.flaskapp.app
In these examples, we start a standalone WSGI server, but the spirit of chaussette is to be managed by Circus, as described https://chaussette.readthedocs.io/en/latest/#using-chaussette-in-circus
Links
The full documentation is located at: https://chaussette.readthedocs.io
You can reach us for any feedback, bug report, or to contribute, at https://github.com/circus-tent/chaussette
Changelog
1.3.0 - 2015-06-01
Fix gevent monkey patching (pull request #67).
Add a “–graceful-timeout” option (for gevent-based backends).
Fix the tornado backend so that it accepts tornado’s WSGIApplication instaces.
Update documentation.
Improve example applications.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for chaussette-backport-1.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38572576d520e83c5be24b4c2df7c64d2b3776ec9145391ede90bc237f560971 |
|
MD5 | 4da8baf5cf0bd8fd8bb4ea0623e968fc |
|
BLAKE2b-256 | e8a0020648e7750a666ed49338ef2d9622a2281ab702890656e2c3e4dcf954a2 |
Hashes for chaussette_backport-1.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f2506049e94404cd5ccb4608ed03f6fa4d1902b1cf6b12ba999a99fb2f0e7b8 |
|
MD5 | f1152adf9b4ecf3151ebec94d9b4c251 |
|
BLAKE2b-256 | ec85b2f14d9972bc7918bfb04ae186520d50127fb262183d70ebe3e8d83e1e59 |