Switch to Fastapi
This commit is contained in:
11
Pipfile
11
Pipfile
@@ -7,14 +7,17 @@ name = "pypi"
|
||||
aiohttp = "*"
|
||||
python-dotenv = "*"
|
||||
b2sdk = "*"
|
||||
fastapi = "*"
|
||||
fastapi-responses = "*"
|
||||
uvicorn = {extras = ["standard"], version = "*"}
|
||||
|
||||
[dev-packages]
|
||||
pytest = "*"
|
||||
requests = "*"
|
||||
|
||||
[requires]
|
||||
python_version = "3.8"
|
||||
|
||||
[scripts]
|
||||
|
||||
dev = "bash -c 'ls src/*.py | entr -r python src/main.py'"
|
||||
|
||||
prod = "python src/main.py"
|
||||
test = "pytest app/test/test_auth.py app/test/test_pack.py -s --capture=sys"
|
||||
dev = "uvicorn app.main:app --reload"
|
||||
|
Reference in New Issue
Block a user