Skip to main content

WSGI HTTP Server for UNIX

Project description

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 v24: Native ASGI support (beta) for async frameworks like FastAPI!

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 (beta) for FastAPI, Starlette, Quart

  • uWSGI binary protocol for nginx integration

  • Multiple worker types: sync, gthread, gevent, eventlet, asgi

  • Graceful worker process management

  • Compatible with Python 3.12+

Documentation

Full documentation at https://gunicorn.org

Community

Sponsors

Gunicorn is maintained thanks to our sponsors. Become a sponsor.

License

Gunicorn is released under the MIT License. See the LICENSE file for details.

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gunicorn-24.1.1.tar.gz (287.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gunicorn-24.1.1-py3-none-any.whl (114.9 kB view details)

Uploaded Python 3

File details

Details for the file gunicorn-24.1.1.tar.gz.

File metadata

  • Download URL: gunicorn-24.1.1.tar.gz
  • Upload date:
  • Size: 287.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.0

File hashes

Hashes for gunicorn-24.1.1.tar.gz
Algorithm Hash digest
SHA256 f006d110e5cb3102859b4f5cd48335dbd9cc28d0d27cd24ddbdafa6c60929408
MD5 054bb184401675d56c613de0e35aa9b3
BLAKE2b-256 780a10739c03537ec5b131a867bf94df2e412b437696c7e5d26970e2198a80d2

See more details on using hashes here.

File details

Details for the file gunicorn-24.1.1-py3-none-any.whl.

File metadata

  • Download URL: gunicorn-24.1.1-py3-none-any.whl
  • Upload date:
  • Size: 114.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.0

File hashes

Hashes for gunicorn-24.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 757f6b621fc4f7581a90600b2cd9df593461f06a41d7259cb9b94499dc4095a8
MD5 2f585c63c62e115f8228c020d71a1135
BLAKE2b-256 9690cfe637677916fc6f53cd2b05d5746e249f683e1fa14c9e745a88c66f7290

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page