A scaffold to speed up launching a flask project.
2.3K
A scaffold to speed up launching a flask project, set up with minimal dependencies.
You can just remove LICENSE, .git/, and .vscode/ files if you don't need them.
There is no silver bullet, so if other libraries or practice are preferred, you can add or change anything as you like.
Python 3.10+
Poetry
(Optional) Docker and docker compose
mypy and ruffpython3 -m venv .venv && source .venv/bin/activate && poetry install
flask run --debug
uvicorn asgi:app --port 5000 --reload
gunicorn -b :5000 asgi:app -k uvicorn.workers.UvicornWorker --reload
./boot.sh
docker build .
docker-compose up --build
Content type
Image
Digest
sha256:d3a9f5af6…
Size
369.6 MB
Last updated
5 months ago
docker pull kigawas/flask-scaffold