Skip to main content

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

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 http://chaussette.readthedocs.org/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.

Metadata

Release files for chaussette 1.3.0

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 1.3.0
File Size Uploaded
chaussette-1.3.0.tar.gz 338.0 kB Details

Release files / chaussette-1.3.0.tar.gz

Download URL chaussette-1.3.0.tar.gz
Size 338.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6777f2460e4efcd26551c6f265d9e612ba95c2a0b2e53104c7d4d20e7f3d5a1b
BLAKE2b-256 checksum
How to use checksums
92abc46447c872d109f7d7573b6215b4e9f320ac1fec41dd26d16a7fe40eed7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.3.0 This release

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

0.9

1 release file

0.8

1 release file

0.7

1 release file

0.6

1 release file

0.5.1

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

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