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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gunicorn-21.0.1.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.0.1.tar.gz
Algorithm Hash digest
SHA256 b18fa5a9b22becdffc29d2586b914225a69624bb3e3a064cb04decfb2f34bfe8
MD5 48d4e5c8583fdd003f29eed905adc65b
BLAKE2b-256 805b35e0daa20b016f7ece2d78115a972fd67dce7df8907cbc09c31250b1e3ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gunicorn-21.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 949880781d74f55eda34eb1a552f9c83db6edb42f2bd4f87c09e2a66b13922ea
MD5 002c29c90e5d95d6dc0127e0398b5c4a
BLAKE2b-256 a8913f96a766e0c4d6fc55b522a6fab2ba6da13e4e22f1b2b3730b241bedc141

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