Skip to content

benoitc/gunicorn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bacbf8a · Oct 25, 2024
Aug 7, 2024
Aug 10, 2024
Aug 10, 2024
Oct 25, 2024
Aug 1, 2018
Aug 10, 2024
Jul 31, 2024
May 17, 2023
Jul 17, 2023
Mar 24, 2024
Apr 16, 2024
Dec 3, 2019
Aug 12, 2024
Oct 18, 2014
Apr 16, 2024
Oct 23, 2023
Aug 10, 2024
May 17, 2023
Dec 29, 2023
Mar 26, 2024
Dec 7, 2023
Dec 29, 2023
May 12, 2024

Repository files navigation

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

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.