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

github.com/benoitc/gunicorn

Chat with this repo
repository ↗ · DeepWiki ↗ · release 26.2.0 ↗ · + Follow · compare 4 versions
5,960 symbols 22,793 edges 443 files ⚖ MIT 3,903 documented · 65% updated today26.2.0 · 2026-08-24★ 10,66461 open issues

Browse by type

Functions 4,774 Types & classes 1,056 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.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.

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 3,848
Class 1,056
Function 926
Route 130

Languages

Python100%
TypeScript1%

Modules by API surface

gunicorn/config.py204 symbols
tests/test_http2_h2c.py144 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
gunicorn/asgi/protocol.py82 symbols
tests/test_http2_request.py81 symbols
tests/test_http2_connection.py76 symbols
tests/test_asgi_worker.py75 symbols
tests/test_config.py74 symbols

Dependencies from manifests, versioned

Django5.0 · 1×
blacksheep2.0.0 · 1×
channels4.0.0 · 1×
fastapi0.110.0 · 1×
gunicorn_h1c0.6.9 · 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