MCPcopy Create free account
hub / github.com/benoitc/gunicorn

github.com/benoitc/gunicorn

Chat with this repo
repository ↗ · DeepWiki ↗ · release 26.1.0 ↗ · + Follow · compare 4 versions
5,723 symbols 22,011 edges 438 files ⚖ MIT 3,832 documented · 67% updated 2d ago26.2.0 · 2026-08-24★ 10,65961 open issues

Browse by type

Functions 4,571 Types & classes 1,022 Endpoints 130
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 3,672
Class 1,022
Function 899
Route 130

Languages

Python100%
TypeScript1%

Modules by API surface

gunicorn/config.py202 symbols
tests/test_gthread.py132 symbols
tests/test_dirty_arbiter.py124 symbols
tests/test_arbiter.py103 symbols
tests/test_http2_stream.py94 symbols
tests/test_asgi_websocket_protocol.py93 symbols
tests/test_asgi_worker.py75 symbols
tests/test_config.py74 symbols
tests/test_asgi_compliance.py74 symbols
gunicorn/asgi/protocol.py74 symbols
tests/docker/asgi_compliance/test_http_compliance.py72 symbols
tests/test_dirty_worker.py71 symbols

Dependencies from manifests, versioned

Django5.0 · 1×
blacksheep2.0.0 · 1×
channels4.0.0 · 1×
fastapi0.110.0 · 1×
gunicorn_h1c0.6.6 · 1×
h24.4.1 · 1×
httptools0.6.0 · 1×
httpx0.27.0 · 1×
inotify0.2.10 · 1×
litestar2.7.0 · 1×
markdown-grid-tables0.6 · 1×
mkdocs1.6 · 1×

Datastores touched

myappDatabase · 1 repos

For agents

$ claude mcp add gunicorn \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page