Add Gunicorn

Signed-off-by: AKP <tom@tdpain.net>
This commit is contained in:
akp 2022-11-09 00:34:14 +00:00
parent caa8f92d65
commit 47301c89a8
No known key found for this signature in database
GPG key ID: AA5726202C8879B7
2 changed files with 17 additions and 1 deletions

17
poetry.lock generated
View file

@ -78,6 +78,20 @@ Werkzeug = ">=2.2.2"
async = ["asgiref (>=3.2)"] async = ["asgiref (>=3.2)"]
dotenv = ["python-dotenv"] dotenv = ["python-dotenv"]
[[package]]
name = "gunicorn"
version = "20.1.0"
description = "WSGI HTTP Server for UNIX"
category = "main"
optional = false
python-versions = ">=3.5"
[package.extras]
eventlet = ["eventlet (>=0.24.1)"]
gevent = ["gevent (>=1.4.0)"]
setproctitle = ["setproctitle"]
tornado = ["tornado (>=0.2)"]
[[package]] [[package]]
name = "idna" name = "idna"
version = "3.4" version = "3.4"
@ -200,7 +214,7 @@ testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "flake8
[metadata] [metadata]
lock-version = "1.1" lock-version = "1.1"
python-versions = "^3.8" python-versions = "^3.8"
content-hash = "00993ecc54f6327f8e58e6b91ce934b966e97c8db4bdb2c7a973c4101b20cb1c" content-hash = "8d04d3977d0006eedb880506f671d80e83f338ace712f8a047dde97b2886f8e2"
[metadata.files] [metadata.files]
beautifulsoup4 = [] beautifulsoup4 = []
@ -210,6 +224,7 @@ charset-normalizer = []
click = [] click = []
colorama = [] colorama = []
flask = [] flask = []
gunicorn = []
idna = [] idna = []
importlib-metadata = [] importlib-metadata = []
itsdangerous = [] itsdangerous = []

View file

@ -11,6 +11,7 @@ requests = "^2.28.1"
beautifulsoup4 = "^4.11.1" beautifulsoup4 = "^4.11.1"
Flask = "^2.2.2" Flask = "^2.2.2"
cachetools = "^5.2.0" cachetools = "^5.2.0"
gunicorn = "^20.1.0"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]