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.0

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.0
File Size Uploaded Provenance Actions
gunicorn-27.0.0.tar.gz 932.0 kB Without provenance Details for gunicorn-27.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.2 MB

Release files / gunicorn-27.0.0.tar.gz

Download URL gunicorn-27.0.0.tar.gz
Size 932.0 kB
Tags Source
SHA-256 checksum
How to use checksums
88d52e7c60b3af07bc8db431fbb450a94780f2cbe7c420c7cf1891392661c591
BLAKE2b-256 checksum
How to use checksums
0ab3addb4f148b938633977d983b852c82177b6c92d17837102a9a2aca061905
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

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

Download URL gunicorn-27.0.0-py3-none-any.whl
Size 261.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1380f2f520abc3beb9e72cd2e728bd2d08a19b3ff6ac03ebd8da71d1798a4008
BLAKE2b-256 checksum
How to use checksums
852b367de7fc2fd4cfd1814b0a31da023195eb4037c1fddc4d9e11cc965e1c00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

Security for gunicorn 27.0.0

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.0 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