Skip to main content

Chaussette

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.

Build Status Coverage Status on master https://img.shields.io/pypi/v/chaussette.svg https://img.shields.io/pypi/dm/chaussette.svg http://allmychanges.com/p/python/chaussette/badge/

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

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.

Release files for chaussette-backport 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chaussette-backport 1.3.1
File Size Uploaded
chaussette-backport-1.3.1.tar.gz 250.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chaussette-backport 1.3.1
File Interpreter ABI Platform
chaussette_backport-1.3.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 271.9 kB

Release files / chaussette-backport-1.3.1.tar.gz

Download URL chaussette-backport-1.3.1.tar.gz
Size 250.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fb4af770aaa1878b95bae926b27ff1e9e0f2d942ff418a68b9d70e580cb12520
BLAKE2b-256 checksum
How to use checksums
b9fc8270a39b1e0c39a6f0e59910f120c9be6e9e4371a81a712f5b7b37e2ce13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / chaussette_backport-1.3.1-py2.py3-none-any.whl

Download URL chaussette_backport-1.3.1-py2.py3-none-any.whl
Size 21.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a9a2dc0105c15b1aa9df3a8220cfe0dd72f938b644fffc89363252440892a88a
BLAKE2b-256 checksum
How to use checksums
f0d8b69682402a232103db5ea2a40c88b54517d1db51530de1aa465fb7766f4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release history Release notifications | RSS feed

This release

1.3.1 This release

2 release files

1.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page