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.0.0.tar.gz (362.5 kB view details)

Uploaded Source

Built Distribution

gunicorn-21.0.0-py3-none-any.whl (81.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gunicorn-21.0.0.tar.gz
Algorithm Hash digest
SHA256 d01d18d61ba58fa1e3a1ae4f15c77989a95478edbaaf95f3e3ff92a2b69d1ff2
MD5 2b83603234f5ea48c9e419c1c37f820d
BLAKE2b-256 689e6bbe28d602311be571fec38778e671d67106c81d967e1b90cf358f7dda62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gunicorn-21.0.0-py3-none-any.whl
  • Upload date:
  • Size: 81.1 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3a52f282306059b3a39761559c086d326449a2d67eb8ab224f057caa7cd1cff
MD5 7bddeb2a57c1c8d1ee6181cdd3c1e13b
BLAKE2b-256 e302f669a0ebb42992eff6c581710a43d8e612803a6ad7aa992c71910324c523

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