| single |
Gunicorn
========
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
-----------
.. code-block:: bash
pip install gunicorn
gunicorn myapp:app --workers 4
For ASGI applications (FastAPI, Starlette):
.. code-block:: bash
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
- [Quickstart]
- [Configuration]
- [Deployment]
- [Settings Reference]
Community
---------
- Report bugs on [GitHub Issues]
- Chat in `#gunicorn`_ on `Libera.chat`_
- See `CONTRIBUTING.md `_ for contribution guidelines
Sponsors
--------
Gunicorn is maintained thanks to our sponsors. [Become a sponsor].
.. Sponsor logos will appear here
License
-------
Gunicorn is released under the MIT License. See the LICENSE_ file for
details.
.. _Unicorn: https://bogomips.org/unicorn/
.. _`#gunicorn`: https://web.libera.chat/?channels=#gunicorn
.. _`Libera.chat`: https://libera.chat/
.. _LICENSE: https://github.com/benoitc/gunicorn/blob/master/LICENSE
|