Skip to main content

WSGI HTTP Server for UNIX

Project description

PyPI version Supported Python versions Build 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.

New in v24: Native ASGI support (beta) for async frameworks like FastAPI!

Quick Start

pip install gunicorn
gunicorn myapp:app --workers 4

For ASGI applications (FastAPI, Starlette):

gunicorn myapp:app --worker-class asgi

Features

  • WSGI support for Django, Flask, Pyramid, and any WSGI framework

  • ASGI support (beta) for FastAPI, Starlette, Quart

  • uWSGI binary protocol for nginx integration

  • Multiple worker types: sync, gthread, gevent, eventlet, asgi

  • Graceful worker process management

  • Compatible with Python 3.12+

Documentation

Full documentation at https://gunicorn.org

Community

License

Gunicorn is released under the MIT License. See the LICENSE file for 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-24.1.0.tar.gz (286.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gunicorn-24.1.0-py3-none-any.whl (114.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gunicorn-24.1.0.tar.gz
  • Upload date:
  • Size: 286.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.0

File hashes

Hashes for gunicorn-24.1.0.tar.gz
Algorithm Hash digest
SHA256 6df323c06bcb9499cbf8bc3b89a56619ac54d6a8c66130681e206272cc5b8e73
MD5 6411cb5b419a657c3f520e4633f616b3
BLAKE2b-256 7b8b3cd14f3d78f050f8c703cb1a881d62f5fc695cfd9f258386982bdc1a018a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gunicorn-24.1.0-py3-none-any.whl
  • Upload date:
  • Size: 114.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.0

File hashes

Hashes for gunicorn-24.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7c3e50dfdade301b1a94ed3e9a2c07ab7d154908203813c10d7b175d04bbf23
MD5 b0a62845e452ea43ab090c8bce08c1a4
BLAKE2b-256 c3eaf91518dd05d81eb8fb4c10c86802aa943d65e4df4dbc820ec58e2597b501

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page