Skip to main content

WSGI HTTP Server for UNIX

Project description

Gunicorn

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

Documentation

Full documentation at https://gunicorn.org

Community

Support

gunicorn has been serving Python web applications since 2010. If it's running in your production stack and saving your team time and money, please consider supporting its continued development:

Sponsor

Your sponsorship helps cover:

  • Security updates and vulnerability responses
  • Compatibility with new Python versions
  • Bug fixes and performance improvements
  • Documentation maintenance

Corporate sponsors: If gunicorn is part of your infrastructure, reach out for sponsored support options.

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

Uploaded Source

Built Distribution

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

gunicorn-25.0.2-py3-none-any.whl (171.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gunicorn-25.0.2.tar.gz
Algorithm Hash digest
SHA256 8e44f2f7cf791de60c84ce119221c26121fd2ffcb27badfbced5a1c919d35d67
MD5 9835fa5230898a4d347690bebbf04202
BLAKE2b-256 b71dc8e2efc43a720af04832c88f26d10ee58397269769d646bbe0d5ed93174f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gunicorn-25.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 288c002141d73ec8d05fdbb7c8453e3d01d3209d8ff6ad425df0ae1430153ca2
MD5 80c508919944773e5bb0d4e6a0d76299
BLAKE2b-256 599037e392c44be75fb674f7e0161eef42dd890eb9e6883430d9468e061570b9

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