Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

gunicorn 'Green Unicorn' is a WSGI HTTP Server for UNIX, fast clients and sleepy applications.

License

NotificationsYou must be signed in to change notification settings

benoitc/gunicorn

Repository files navigation

Gunicorn

PyPI versionSupported Python versionsBuild StatusLint Status

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.

Documentation

The documentation is hosted athttps://docs.gunicorn.org.

Installation

Gunicorn requiresPython 3.x >= 3.7.

Install from PyPI:

$ pip install gunicorn

Usage

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

Contributing

Seeour complete contributor's guide for more details.

License

Gunicorn is released under the MIT License. See theLICENSE file for moredetails.


[8]ページ先頭

©2009-2025 Movatter.jp