-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a25f66
commit 4b31ed3
Showing
46 changed files
with
8,727 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/Users/surya/Developer/file-stash/.venv/bin/python | ||
# -*- coding: utf-8 -*- | ||
import re | ||
import sys | ||
from gunicorn.app.wsgiapp import run | ||
if __name__ == '__main__': | ||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) | ||
sys.exit(run()) |
1 change: 1 addition & 0 deletions
1
.venv/lib/python3.12/site-packages/gunicorn-23.0.0.dist-info/INSTALLER
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pip |
23 changes: 23 additions & 0 deletions
23
.venv/lib/python3.12/site-packages/gunicorn-23.0.0.dist-info/LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
2009-2024 (c) Benoît Chesneau <[email protected]> | ||
2009-2015 (c) Paul J. Davis <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation | ||
files (the "Software"), to deal in the Software without | ||
restriction, including without limitation the rights to use, | ||
copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the | ||
Software is furnished to do so, subject to the following | ||
conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. |
130 changes: 130 additions & 0 deletions
130
.venv/lib/python3.12/site-packages/gunicorn-23.0.0.dist-info/METADATA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
Metadata-Version: 2.1 | ||
Name: gunicorn | ||
Version: 23.0.0 | ||
Summary: WSGI HTTP Server for UNIX | ||
Author-email: Benoit Chesneau <[email protected]> | ||
License: MIT | ||
Project-URL: Homepage, https://gunicorn.org | ||
Project-URL: Documentation, https://docs.gunicorn.org | ||
Project-URL: Issue tracker, https://github.com/benoitc/gunicorn/issues | ||
Project-URL: Source code, https://github.com/benoitc/gunicorn | ||
Project-URL: Changelog, https://docs.gunicorn.org/en/stable/news.html | ||
Classifier: Development Status :: 5 - Production/Stable | ||
Classifier: Environment :: Other Environment | ||
Classifier: Intended Audience :: Developers | ||
Classifier: License :: OSI Approved :: MIT License | ||
Classifier: Operating System :: MacOS :: MacOS X | ||
Classifier: Operating System :: POSIX | ||
Classifier: Programming Language :: Python | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Programming Language :: Python :: 3.7 | ||
Classifier: Programming Language :: Python :: 3.8 | ||
Classifier: Programming Language :: Python :: 3.9 | ||
Classifier: Programming Language :: Python :: 3.10 | ||
Classifier: Programming Language :: Python :: 3.11 | ||
Classifier: Programming Language :: Python :: 3.12 | ||
Classifier: Programming Language :: Python :: 3 :: Only | ||
Classifier: Programming Language :: Python :: Implementation :: CPython | ||
Classifier: Programming Language :: Python :: Implementation :: PyPy | ||
Classifier: Topic :: Internet | ||
Classifier: Topic :: Utilities | ||
Classifier: Topic :: Software Development :: Libraries :: Python Modules | ||
Classifier: Topic :: Internet :: WWW/HTTP | ||
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI | ||
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Server | ||
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content | ||
Requires-Python: >=3.7 | ||
Description-Content-Type: text/x-rst | ||
License-File: LICENSE | ||
Requires-Dist: packaging | ||
Requires-Dist: importlib-metadata ; python_version < "3.8" | ||
Provides-Extra: eventlet | ||
Requires-Dist: eventlet !=0.36.0,>=0.24.1 ; extra == 'eventlet' | ||
Provides-Extra: gevent | ||
Requires-Dist: gevent >=1.4.0 ; extra == 'gevent' | ||
Provides-Extra: gthread | ||
Provides-Extra: setproctitle | ||
Requires-Dist: setproctitle ; extra == 'setproctitle' | ||
Provides-Extra: testing | ||
Requires-Dist: gevent ; extra == 'testing' | ||
Requires-Dist: eventlet ; extra == 'testing' | ||
Requires-Dist: coverage ; extra == 'testing' | ||
Requires-Dist: pytest ; extra == 'testing' | ||
Requires-Dist: pytest-cov ; extra == 'testing' | ||
Provides-Extra: tornado | ||
Requires-Dist: tornado >=0.2 ; extra == 'tornado' | ||
|
||
Gunicorn | ||
-------- | ||
|
||
.. image:: https://img.shields.io/pypi/v/gunicorn.svg?style=flat | ||
:alt: PyPI version | ||
:target: https://pypi.python.org/pypi/gunicorn | ||
|
||
.. image:: https://img.shields.io/pypi/pyversions/gunicorn.svg | ||
:alt: Supported Python versions | ||
:target: https://pypi.python.org/pypi/gunicorn | ||
|
||
.. image:: https://github.com/benoitc/gunicorn/actions/workflows/tox.yml/badge.svg | ||
:alt: Build Status | ||
:target: https://github.com/benoitc/gunicorn/actions/workflows/tox.yml | ||
|
||
.. image:: https://github.com/benoitc/gunicorn/actions/workflows/lint.yml/badge.svg | ||
:alt: Lint Status | ||
:target: https://github.com/benoitc/gunicorn/actions/workflows/lint.yml | ||
|
||
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. | ||
|
||
Feel free to join us in `#gunicorn`_ on `Libera.chat`_. | ||
|
||
Documentation | ||
------------- | ||
|
||
The documentation is hosted at https://docs.gunicorn.org. | ||
|
||
Installation | ||
------------ | ||
|
||
Gunicorn requires **Python 3.x >= 3.7**. | ||
|
||
Install from PyPI:: | ||
|
||
$ pip install gunicorn | ||
|
||
|
||
Usage | ||
----- | ||
|
||
Basic usage:: | ||
|
||
$ gunicorn [OPTIONS] APP_MODULE | ||
|
||
Where ``APP_MODULE`` is of the pattern ``$(MODULE_NAME):$(VARIABLE_NAME)``. The | ||
module name can be a full dotted path. The variable name refers to a WSGI | ||
callable that should be found in the specified module. | ||
|
||
Example with test app:: | ||
|
||
$ cd examples | ||
$ gunicorn --workers=2 test:app | ||
|
||
|
||
Contributing | ||
------------ | ||
|
||
See `our complete contributor's guide <CONTRIBUTING.md>`_ for more details. | ||
|
||
|
||
License | ||
------- | ||
|
||
Gunicorn is released under the MIT License. See the LICENSE_ file for more | ||
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 |
77 changes: 77 additions & 0 deletions
77
.venv/lib/python3.12/site-packages/gunicorn-23.0.0.dist-info/RECORD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
../../../bin/gunicorn,sha256=CaSqKwYCtdetFAn8yHWVmwHuRmqMhc9O7yUvRwe8ycY,251 | ||
gunicorn-23.0.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 | ||
gunicorn-23.0.0.dist-info/LICENSE,sha256=ZkbNu6LpnjQh3RjCIXNXmh_eNH6DHa5q3ugO7-Mx6VE,1136 | ||
gunicorn-23.0.0.dist-info/METADATA,sha256=KhY-mRcAcWCLIbXIHihsUNKWB5fGDOrsbq-JKQTBHY4,4421 | ||
gunicorn-23.0.0.dist-info/RECORD,, | ||
gunicorn-23.0.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 | ||
gunicorn-23.0.0.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91 | ||
gunicorn-23.0.0.dist-info/entry_points.txt,sha256=bF8VNiG4H8W83JfEBcqcPMydv9hl04CS4kwh1KOYrFY,113 | ||
gunicorn-23.0.0.dist-info/top_level.txt,sha256=cdMaa2yhxb8do-WioY9qRHUCfwf55YztjwQCncaInoE,9 | ||
gunicorn/__init__.py,sha256=NaLW_JTiKLgqMXipjqzxFn-1wdiptlO2WxOB_KKwx94,257 | ||
gunicorn/__main__.py,sha256=tviepyuwKyB6SPV28t2eZy_5PcCpT56z7QZjzbMpkQw,338 | ||
gunicorn/__pycache__/__init__.cpython-312.pyc,, | ||
gunicorn/__pycache__/__main__.cpython-312.pyc,, | ||
gunicorn/__pycache__/arbiter.cpython-312.pyc,, | ||
gunicorn/__pycache__/config.cpython-312.pyc,, | ||
gunicorn/__pycache__/debug.cpython-312.pyc,, | ||
gunicorn/__pycache__/errors.cpython-312.pyc,, | ||
gunicorn/__pycache__/glogging.cpython-312.pyc,, | ||
gunicorn/__pycache__/pidfile.cpython-312.pyc,, | ||
gunicorn/__pycache__/reloader.cpython-312.pyc,, | ||
gunicorn/__pycache__/sock.cpython-312.pyc,, | ||
gunicorn/__pycache__/systemd.cpython-312.pyc,, | ||
gunicorn/__pycache__/util.cpython-312.pyc,, | ||
gunicorn/app/__init__.py,sha256=8m9lIbhRssnbGuBeQUA-vNSNbMeNju9Q_PUnnNfqOYU,105 | ||
gunicorn/app/__pycache__/__init__.cpython-312.pyc,, | ||
gunicorn/app/__pycache__/base.cpython-312.pyc,, | ||
gunicorn/app/__pycache__/pasterapp.cpython-312.pyc,, | ||
gunicorn/app/__pycache__/wsgiapp.cpython-312.pyc,, | ||
gunicorn/app/base.py,sha256=KV2aIO50JTlakHL82q9zu3LhCJrDmUmaViwSy14Gk6U,7370 | ||
gunicorn/app/pasterapp.py,sha256=BIa0mz_J86NuObUw2UIyjLYKUm8V3b034pJrTkvF-sA,2016 | ||
gunicorn/app/wsgiapp.py,sha256=gVBgUc_3uSK0QzXYQ1XbutacEGjf44CgxAaYkgwfucY,1924 | ||
gunicorn/arbiter.py,sha256=xcHpv8bsrYpIpu9q7YK4ue11f9kmz80dr7BUwKX3oxk,21470 | ||
gunicorn/config.py,sha256=t3BChwMoBZwfV05Iy_n3oh232xvi1SORkOJfHFL_c-8,70318 | ||
gunicorn/debug.py,sha256=c8cQv_g3d22JE6A4hv7FNmMhm4wq6iB_E-toorpqJcw,2263 | ||
gunicorn/errors.py,sha256=iLTJQC4SVSRoygIGGHXvEp0d8UdzpeqmMRqUcF0JI14,897 | ||
gunicorn/glogging.py,sha256=76MlUUc82FqdeD3R4qC8NeUHt8vxa3IBSxmeBtbZKtE,15273 | ||
gunicorn/http/__init__.py,sha256=1k_WWvjT9eDDRDOutzXCebvYKm_qzaQA3GuLk0VkbJI,255 | ||
gunicorn/http/__pycache__/__init__.cpython-312.pyc,, | ||
gunicorn/http/__pycache__/body.cpython-312.pyc,, | ||
gunicorn/http/__pycache__/errors.cpython-312.pyc,, | ||
gunicorn/http/__pycache__/message.cpython-312.pyc,, | ||
gunicorn/http/__pycache__/parser.cpython-312.pyc,, | ||
gunicorn/http/__pycache__/unreader.cpython-312.pyc,, | ||
gunicorn/http/__pycache__/wsgi.cpython-312.pyc,, | ||
gunicorn/http/body.py,sha256=sQgp_hJUjx8DK6LYzklMTl-xKcX8efsbreCKzowCGmo,7600 | ||
gunicorn/http/errors.py,sha256=6tcG9pCvRiooXpfudQBILzUPx3ertuQ5utjZeUNMUqA,3437 | ||
gunicorn/http/message.py,sha256=ok4xnqWhntIn21gcPa1KYZWRYTbwsECpot-Eac47qFs,17632 | ||
gunicorn/http/parser.py,sha256=wayoAFjQYERSwE4YGwI2AYSNGZ2eTNbGUtoqqQFph5U,1334 | ||
gunicorn/http/unreader.py,sha256=D7bluz62A1aLZQ9XbpX0-nDBal9KPtp_pjokk2YNY8E,1913 | ||
gunicorn/http/wsgi.py,sha256=x-zTT7gvRF4wipmvoVePz1qO407JZCU_sNU8yjcl_R4,12811 | ||
gunicorn/instrument/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 | ||
gunicorn/instrument/__pycache__/__init__.cpython-312.pyc,, | ||
gunicorn/instrument/__pycache__/statsd.cpython-312.pyc,, | ||
gunicorn/instrument/statsd.py,sha256=ghmaniNEjMMLvvdQkDPpB_u9a8z4FBfWUE_C9O1KIYQ,4750 | ||
gunicorn/pidfile.py,sha256=HntiveG8eJmwB8_D3o5cBXRuGKnC0cvWxg90MWh1hUc,2327 | ||
gunicorn/reloader.py,sha256=oDuK2PWGyIMm0_vc1y196Z1EggOvBi-Iz_2UbRY7PsQ,3761 | ||
gunicorn/sock.py,sha256=VVF2eeoxQEJ2OEoZoek3BFZTqj7wXvQql7jpdFAjVTI,6834 | ||
gunicorn/systemd.py,sha256=DmWbcqeRyHdAIy70UCEg2J93v6PpESp3EFTNm0Djgyg,2498 | ||
gunicorn/util.py,sha256=YqC4E3RxhFNH-W4LOqy1RtxcHRy9hRyYND92ZSNXEwc,19095 | ||
gunicorn/workers/__init__.py,sha256=Y0Z6WhXKY6PuTbFkOkeEBzIfhDDg5FeqVg8aJp6lIZA,572 | ||
gunicorn/workers/__pycache__/__init__.cpython-312.pyc,, | ||
gunicorn/workers/__pycache__/base.cpython-312.pyc,, | ||
gunicorn/workers/__pycache__/base_async.cpython-312.pyc,, | ||
gunicorn/workers/__pycache__/geventlet.cpython-312.pyc,, | ||
gunicorn/workers/__pycache__/ggevent.cpython-312.pyc,, | ||
gunicorn/workers/__pycache__/gthread.cpython-312.pyc,, | ||
gunicorn/workers/__pycache__/gtornado.cpython-312.pyc,, | ||
gunicorn/workers/__pycache__/sync.cpython-312.pyc,, | ||
gunicorn/workers/__pycache__/workertmp.cpython-312.pyc,, | ||
gunicorn/workers/base.py,sha256=eM9MTLP9PdWL0Pm5V5byyBli-r8zF2MSEGjefr3y92M,9763 | ||
gunicorn/workers/base_async.py,sha256=Oc-rSV81uHqvEqww2PM6tz75qNR07ChuqM6IkTOpzlk,5627 | ||
gunicorn/workers/geventlet.py,sha256=s_I-gKYgDJnlAHdCxN_wfglODnDE1eJaZJZCJyNYg-4,6069 | ||
gunicorn/workers/ggevent.py,sha256=OEhj-bFVBGQ-jbjr5S3gSvixJTa-YOQYht7fYTOCyt4,6030 | ||
gunicorn/workers/gthread.py,sha256=moycCQoJS602u3U7gZEooYxqRP86Tq5bmQnipL4a4_c,12500 | ||
gunicorn/workers/gtornado.py,sha256=zCHbxs5JeE9rtZa5mXlhftBlNlwp_tBWXuTQwqgv1so,5811 | ||
gunicorn/workers/sync.py,sha256=mOY84VHbAx62lmo2DLuifkK9d6anEgvC7LAuYVJyRM4,7204 | ||
gunicorn/workers/workertmp.py,sha256=bswGosCIDb_wBfdGaFqHopgxbmJ6rgVXYlVhJDWZKIc,1604 |
Empty file.
5 changes: 5 additions & 0 deletions
5
.venv/lib/python3.12/site-packages/gunicorn-23.0.0.dist-info/WHEEL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Wheel-Version: 1.0 | ||
Generator: setuptools (72.1.0) | ||
Root-Is-Purelib: true | ||
Tag: py3-none-any | ||
|
5 changes: 5 additions & 0 deletions
5
.venv/lib/python3.12/site-packages/gunicorn-23.0.0.dist-info/entry_points.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[console_scripts] | ||
gunicorn = gunicorn.app.wsgiapp:run | ||
|
||
[paste.server_runner] | ||
main = gunicorn.app.pasterapp:serve |
1 change: 1 addition & 0 deletions
1
.venv/lib/python3.12/site-packages/gunicorn-23.0.0.dist-info/top_level.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gunicorn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# | ||
# This file is part of gunicorn released under the MIT license. | ||
# See the NOTICE for more information. | ||
|
||
version_info = (23, 0, 0) | ||
__version__ = ".".join([str(v) for v in version_info]) | ||
SERVER = "gunicorn" | ||
SERVER_SOFTWARE = "%s/%s" % (SERVER, __version__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# | ||
# This file is part of gunicorn released under the MIT license. | ||
# See the NOTICE for more information. | ||
|
||
from gunicorn.app.wsgiapp import run | ||
|
||
if __name__ == "__main__": | ||
# see config.py - argparse defaults to basename(argv[0]) == "__main__.py" | ||
# todo: let runpy.run_module take care of argv[0] rewriting | ||
run(prog="gunicorn") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# | ||
# This file is part of gunicorn released under the MIT license. | ||
# See the NOTICE for more information. |
Oops, something went wrong.