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.1.0.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gunicorn-21.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 37ced4b6622f263a6483eb7cbe9606df81afd57dc0fa464883600624790271c5
MD5 e2679bd5abfa3bc309034884227b0303
BLAKE2b-256 71a4bfe8f09943b67dba6cc95f4d36981fc0baee0dbdb1fbe52f544971296841

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gunicorn-21.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11fc98ea214a5845f614891e8c90b0211fbe595e677d204d7cd7d80f6f348891
MD5 21282a91cdb1bb933ecf87b4f1f5b02c
BLAKE2b-256 bad65ec4f4cab2caf886b6b434d6aaa47d25a1bd69b8b7ef44a0d05d840a9e0e

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