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.0.0.tar.gz (277.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.0.0-py3-none-any.whl (110.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gunicorn-24.0.0.tar.gz
Algorithm Hash digest
SHA256 7f6c916308740942586f49f14cf3743bdfc4130c29520c42706f42fa5a2dacdb
MD5 7b085f4c29cd60404e7da90886d0d08f
BLAKE2b-256 10c5ceaef8b5f19629161a0aa4a4af9a185fcf80bf0faf9f015900c37cbb837c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gunicorn-24.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30401647ed4f162a3f7e5b8b3ed77e6e88d9a4ea5599f1ff31f7f54a7610339c
MD5 630c6e3ba00df5d4543c58c94d59317a
BLAKE2b-256 d752b757a35f115b0273f62b8557435e7b867424d0d7e363808e3413d62da49a

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