GithubHelp home page GithubHelp logo

mediaclash / chaussette Goto Github PK

View Code? Open in Web Editor NEW

This project forked from circus-tent/chaussette

0.0 2.0 0.0 631 KB

Home Page: https://chaussette.readthedocs.org

License: Other

Makefile 0.96% Python 99.04%

chaussette's Introduction

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 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 http://chaussette.readthedocs.org/en/latest/#using-chaussette-in-circus

Links

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.