skip to navigation
skip to content

Not Logged In

gunicorn 0.1

WSGI HTTP Server for UNIX

Latest Version: 19.3.0

gunicorn ‘Green Unicorn’ is a WSGI HTTP Server for UNIX, fast clients and nothing else. This is a port of Unicorn (http://unicorn.bogomips.org/) in Python.

Install

Run command :

$ python setup.py install

Use gunicorn:

$ gunicorn –help Usage: gunicorn [OPTIONS] APP_MODULE

Options:
<kbd>--host=<var>HOST</var></kbd> Host to listen on. [127.0.0.1]
<kbd>--port=<var>PORT</var></kbd> Port to listen on. [8000]
<kbd>--workers=<var>WORKERS</var></kbd>
 Number of workers to spawn. [1]
<kbd>-h, --help</kbd> show this help message and exit

Example with test app :

$ cd examples $ gunicorn –workers=2 test:app

For django projects use the gunicorn_django command.

$ cd yourdjangoproject $ gunicorn_django –workers=2
 
File Type Py Version Uploaded on Size
gunicorn-0.1.tar.gz (md5) Source 2010-01-03 14KB
  • Downloads (All Versions):
  • 13134 downloads in the last day
  • 78255 downloads in the last week
  • 301434 downloads in the last month