skip to navigation
skip to content

Not Logged In

gunicorn 19.3.0

WSGI HTTP Server for UNIX

Gunicorn

Gunicorn ‘Green Unicorn’ is a Python WSGI HTTP Server for UNIX. It’s a pre-fork worker model ported from Ruby’s Unicorn project. The Gunicorn server is broadly compatible with various web frameworks, simply implemented, light on server resource usage, and fairly speedy.

Feel free to join us in #gunicorn on Freenode.

Documentation

The documentation is hosted at http://docs.gunicorn.org.

Installation

Gunicorn requires Python 2.x >= 2.6 or Python 3.x >= 3.2.

Install from PyPI:

$ pip install gunicorn

Usage

Basic usage:

$ gunicorn [OPTIONS] APP_MODULE

Where APP_MODULE is of the pattern $(MODULE_NAME):$(VARIABLE_NAME). The module name can be a full dotted path. The variable name refers to a WSGI callable that should be found in the specified module.

Example with test app:

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

License

Gunicorn is released under the MIT License. See the LICENSE file for more details.

 
File Type Py Version Uploaded on Size
gunicorn-19.3.0-py2.py3-none-any.whl (md5) Python Wheel 3.4 2015-03-06 107KB
gunicorn-19.3.0.tar.gz (md5) Source 2015-03-06 386KB
  • Downloads (All Versions):
  • 5096 downloads in the last day
  • 52505 downloads in the last week
  • 262190 downloads in the last month