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

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.

Metadata

Release files for gunicorn 27.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gunicorn 27.0.1
File Size Uploaded Provenance Actions
gunicorn-27.0.1.tar.gz 876.9 kB Without provenance Details for gunicorn-27.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gunicorn 27.0.1
File Interpreter ABI Platform Actions
gunicorn-27.0.1-py3-none-any.whl Python 3 none any Details for gunicorn-27.0.1-py3-none-any.whl

Total release size: 1.1 MB

Release files / gunicorn-27.0.1.tar.gz

Download URL gunicorn-27.0.1.tar.gz
Size 876.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b1514965361c8b7e8107a80aa2a92636878df1ccfac6dd204a676426e04d9e3e
BLAKE2b-256 checksum
How to use checksums
0efc7fd4bbebc1d17394a5c98f0ef565da3341dbb664748d1bebedefead356ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / gunicorn-27.0.1-py3-none-any.whl

Download URL gunicorn-27.0.1-py3-none-any.whl
Size 263.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
378b26b9a38adcf4592f28828233c1716acc55e833ea06bf48719782efaa0d10
BLAKE2b-256 checksum
How to use checksums
f74619ce73424bc4bcac3f0c104950fa776abdfa4515f25104916a62b63b672a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for gunicorn 27.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

27.0.1 This release

2 release files No provenance

20.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page