Skip to main content

WSGI HTTP Server for UNIX

Project description

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:
--host=HOST

Host to listen on. [127.0.0.1]

--port=PORT

Port to listen on. [8000]

--workers=WORKERS

Number of workers to spawn. [1]

-h, --help

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

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gunicorn-0.1.tar.gz (14.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page