- Notifications
You must be signed in to change notification settings - Fork1.8k
gunicorn 'Green Unicorn' is a WSGI HTTP Server for UNIX, fast clients and sleepy applications.
License
benoitc/gunicorn
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-forkworker model ported from Ruby'sUnicorn project. The Gunicorn server is broadlycompatible with various web frameworks, simply implemented, light on serverresource usage, and fairly speedy.
Feel free to join us in#gunicorn onLibera.chat.
The documentation is hosted athttps://docs.gunicorn.org.
Gunicorn requiresPython 3.x >= 3.7.
Install from PyPI:
$ pip install gunicorn
Basic usage:
$ gunicorn [OPTIONS] APP_MODULE
WhereAPP_MODULE
is of the pattern$(MODULE_NAME):$(VARIABLE_NAME)
. Themodule name can be a full dotted path. The variable name refers to a WSGIcallable that should be found in the specified module.
Example with test app:
$ cd examples$ gunicorn --workers=2 test:app
Seeour complete contributor's guide for more details.
Gunicorn is released under the MIT License. See theLICENSE file for moredetails.
About
gunicorn 'Green Unicorn' is a WSGI HTTP Server for UNIX, fast clients and sleepy applications.