Skip to main content

Gunicorn

Gunicorn is maintained by volunteers. If it powers your production, please consider supporting us:
GitHub Sponsors Revolut

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 v25: Per-app worker allocation for dirty arbiters, HTTP/2 support (beta)!

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 for FastAPI, Starlette, Quart
  • HTTP/2 support (beta) with multiplexed streams
  • Dirty Arbiters (beta) for heavy workloads (ML models, long-running tasks)
  • uWSGI binary protocol for nginx integration
  • Multiple worker types: sync, gthread, gevent, asgi
  • Graceful worker process management
  • Compatible with Python 3.9+

Documentation

Full documentation at https://gunicorn.org

Community

Support

Powering Python apps since 2010. Support continued development.

Become a Sponsor

Sponsors

Enki Multimedia

License

Gunicorn is released under the MIT License. See the LICENSE file for details.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gunicorn-26.1.0.tar.gz (755.9 kB view details)

Uploaded Source

Built Distribution

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

gunicorn-26.1.0-py3-none-any.whl (216.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gunicorn-26.1.0.tar.gz
  • Upload date:
  • Size: 755.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for gunicorn-26.1.0.tar.gz
Algorithm Hash digest
SHA256 1413d777bf99d31ebeb08acd354b01f1ecc44db0aa7b811ae7b86c669232e4f7
MD5 c2c9f4bf555ac4231f1c376d623eaacd
BLAKE2b-256 38b8ec4ba3f6cace4091c34e27478b576bb80f2f06fab80fd42c0ecc785b308f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gunicorn-26.1.0-py3-none-any.whl
  • Upload date:
  • Size: 216.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for gunicorn-26.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f45bcddec5e9dc7a25a3bdccb0c6832f11fd5d4739b1ee36c8d2fec25f1dc86
MD5 8fd72676537d551e6a219cb72cb1152d
BLAKE2b-256 19dc7a55fc605543fd5cb11c003fbbb21a1911d5e88a582cce6c5e063bf5c176

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

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