modify: 功能tongbu

This commit is contained in:
2026-04-29 11:24:19 +08:00
parent b1968f5ddc
commit 2dfa836acb
69 changed files with 4817 additions and 518 deletions
@@ -9,14 +9,17 @@ description = "基于 modules-bank 的 fastapi 打包脚手架"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"aiofiles",
"aiosqlite",
"bcrypt==4.0.1",
"apscheduler",
"bcrypt",
"diskcache",
"fastapi[uvicorn]",
"gunicorn",
"module-bank",
"passlib[bcrypt]",
"pyjwt",
"python-multipart",
"sqlite-vfs",
"sqlitedict",
"sqlmodel[aiosqlite]",
"tomli",
"typing-extensions",
@@ -35,6 +38,7 @@ url = "https://mirrors.ustc.edu.cn/pypi/web/simple/"
dev = [
"pyarmor",
"pyinstaller",
"ruff>=0.15.10",
]
[tool.hatch.build.targets.wheel]
@@ -42,4 +46,5 @@ packages = ["src/{{ cookiecutter.project_name }}"]
[project.scripts]
build = "{{ cookiecutter.project_name }}.scripts.build:build"
serve = "{{ cookiecutter.project_name }}:serve"
serve = "{{ cookiecutter.project_name }}:serve"
gunicorn = "{{ cookiecutter.project_name }}:gunicorn_serve"