Skip to main content

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 files for gunicorn 21.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gunicorn 21.2.0
File Size Uploaded Provenance Actions
gunicorn-21.2.0.tar.gz 3.6 MB Without provenance Details for gunicorn-21.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gunicorn 21.2.0
File Interpreter ABI Platform Actions
gunicorn-21.2.0-py3-none-any.whl Python 3 none any Details for gunicorn-21.2.0-py3-none-any.whl

Total release size: 3.7 MB

Release files / gunicorn-21.2.0.tar.gz

Download URL gunicorn-21.2.0.tar.gz
Size 3.6 MB
Tags Source
SHA-256 checksum
How to use checksums
88ec8bff1d634f98e61b9f65bc4bf3cd918a90806c6f5c48bc5603849ec81033
BLAKE2b-256 checksum
How to use checksums
0689acd9879fa6a5309b4bf16a5a8855f1e58f26d38e0c18ede9b3a70996b021
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / gunicorn-21.2.0-py3-none-any.whl

Download URL gunicorn-21.2.0-py3-none-any.whl
Size 80.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3213aa5e8c24949e792bcacfc176fef362e7aac80b76c56f6b5122bf350722f0
BLAKE2b-256 checksum
How to use checksums
0e2ac3a878eccb100ccddf45c50b6b8db8cf3301a6adede6e31d48e8531cab13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for gunicorn 21.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

21.2.0 This release

2 release files No provenance

20.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page