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

github.com/benoitc/gunicorn

Chat with this repo
repository ↗ · DeepWiki ↗ · release 27.0.1 ↗ · + Follow · compare 7 versions
6,888 symbols 27,517 edges 495 files 4,159 documented · 60% ● updated 7d ago27.0.1 · 2026-11-12★ 10,73551 open issues

Browse by type

⨍ Functions 5,599◇ Types & classes 1,147↳ Endpoints 142
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 4,282
Function 1,317
Class 1,147
Route 142

Languages

Python100%
TypeScript1%

Modules by API surface

tests/test_http2_h2c.py216 symbols
gunicorn/config.py208 symbols
tests/test_http2_connection.py158 symbols
tests/test_gthread.py138 symbols
tests/test_http2_async_connection.py137 symbols
tests/test_dirty_arbiter.py124 symbols
tests/test_arbiter.py111 symbols
tests/test_http2_stream.py108 symbols
gunicorn/asgi/protocol.py106 symbols
tests/test_http2_request.py93 symbols
tests/test_asgi_websocket_protocol.py93 symbols
tests/test_asgi_worker.py78 symbols

Dependencies from manifests, versioned

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