Skip to main content

WSGI HTTP Server for UNIX

Project description

Gunicorn

PyPI version Supported Python versions Build Status Lint Status

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 Libera.chat.

Documentation

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

Installation

Gunicorn requires Python 3.x >= 3.5.

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

Contributing

See our complete contributor’s guide for more details.

License

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

Release history Release notifications | RSS feed

Download files

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

Source Distribution

gunicorn-21.2.0.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

gunicorn-21.2.0-py3-none-any.whl (80.2 kB view details)

Uploaded Python 3

File details

Details for the file gunicorn-21.2.0.tar.gz.

File metadata

  • Download URL: gunicorn-21.2.0.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for gunicorn-21.2.0.tar.gz
Algorithm Hash digest
SHA256 88ec8bff1d634f98e61b9f65bc4bf3cd918a90806c6f5c48bc5603849ec81033
MD5 cb41319d6929842c5af7003d48c513a2
BLAKE2b-256 0689acd9879fa6a5309b4bf16a5a8855f1e58f26d38e0c18ede9b3a70996b021

See more details on using hashes here.

File details

Details for the file gunicorn-21.2.0-py3-none-any.whl.

File metadata

  • Download URL: gunicorn-21.2.0-py3-none-any.whl
  • Upload date:
  • Size: 80.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for gunicorn-21.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3213aa5e8c24949e792bcacfc176fef362e7aac80b76c56f6b5122bf350722f0
MD5 1f3b9879f716cf19cf540310a7cf1bae
BLAKE2b-256 0e2ac3a878eccb100ccddf45c50b6b8db8cf3301a6adede6e31d48e8531cab13

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page