脚手架
通用工程
https://github.com/pyloong/cookiecutter-pythonic-project
# 升级最新 pip
pip install -U pip
# 安装或升级 cookiecutter
pip install -U cookiecutter
# 使用 cookiecutter 加载项目模板,生成项目
# 回车运行的时候,需要根据提示交互选择启用的功能。
# 如果使用默认配置,则一路回车就可以。
cookiecutter https://github.com/pyloong/cookiecutter-pythonic-project
flask工程
flask 推荐
https://github.com/cookiecutter-flask/cookiecutter-flask
pip3 install cookiecutter
cookiecutter https://github.com/cookiecutter-flask/cookiecutter-flask.git
flask 工程2
https://liqiang.io/book/the-way-to-flask/
https://github.com/liuliqiang/the-way-to-flask.git
flask rest
Real-life RESTful server example on Flask-RESTplus
https://github.com/frol/flask-restplus-server-example
flastapi-template
https://github.com/s3rius/FastAPI-template
cookiecutter-fatapi
https://github.com/arthurhenrique/cookiecutter-fastapi
flaskapi-sayhell
https://github.com/sususama5555/fastapi-sayhello
start-fastapi
- 基于工程化思想构建,
- 基于fastapi 构建
https://github.com/utmhikari/start-fastapi
fastapi 项目脚手架
https://gitee.com/wu_cl/fastapi_mysql_demo
Fastapi框架 【开源(自用)脚手架】
https://juejin.cn/post/7015994046405427207
docker-fastapi-demo
FastApi 简单入门,附生产级脚手架代码 https://www.modb.pro/db/103711
https://github.com/pylixm/docker-fastapi-demo
fastapi-beanie-jwt
- async-odm beanie
- fastapi
https://github.com/flyinactor91/fastapi-beanie-jwt
Manage FastAPI
https://github.com/ycd/manage-fastapi
$ pip install manage-fastapi
$ fastapi --help
Usage: fastapi [OPTIONS] COMMAND [ARGS]...
Managing FastAPI projects made easy!
Options:
--version Show the Manage FastAPI version information.
--help Show this message and exit.
Commands:
run Run a FastAPI application.
startapp Creates a FastAPI component.
startproject Creates a FastAPI project.
awesome-fastapi-projects
基于 fastapi 的项目
https://github.com/Kludex/awesome-fastapi-projects
demo-flask-htmx
https://github.com/codecapsules-io/demo-flask-htmx
参考
https://exploreflask.com/en/latest/organizing.html
structure of a flask project https://lepture.com/en/2018/structure-of-a-flask-project
flask 架构模板 https://exploreflask.com/en/latest/organizing.html#organization-patterns
flask 大型项目 https://flask.palletsprojects.com/en/1.1.x/patterns/packages/