modify: jwt 验证
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "{{ cookiecutter.project_name }}"
|
||||
version = "0.1.0"
|
||||
@@ -5,33 +9,32 @@ description = "基于 modules-bank 的 fastapi 打包脚手架"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.8"
|
||||
dependencies = [
|
||||
"aerich",
|
||||
"fastapi[uvicorn]",
|
||||
"module-bank",
|
||||
"passlib",
|
||||
"passlib[bcrypt]",
|
||||
"pydantic-settings",
|
||||
"pydantic[email]",
|
||||
"sqlite-vfs",
|
||||
"toml",
|
||||
"tortoise-orm",
|
||||
"uvicorn[standard]",
|
||||
"sqlitedict",
|
||||
"pyjwt",
|
||||
"bcrypt==4.0.1",
|
||||
]
|
||||
|
||||
[[tool.uv.index]]
|
||||
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
|
||||
default = true
|
||||
|
||||
[[tool.uv.index]]
|
||||
url = "https://mirrors.ustc.edu.cn/pypi/web/simple/"
|
||||
|
||||
[tool.uv.workspace]
|
||||
members = [
|
||||
".",
|
||||
]
|
||||
|
||||
[tool.uv.sources]
|
||||
{{ cookiecutter.project_name }} = { workspace = true }
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"{{ cookiecutter.project_name }}",
|
||||
"aerich",
|
||||
"pyinstaller>=6.18.0",
|
||||
"requests>=2.32.4",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
@@ -39,4 +42,4 @@ packages = ["src/{{ cookiecutter.project_name }}"]
|
||||
|
||||
[project.scripts]
|
||||
build = "{{ cookiecutter.project_name }}.scripts.build:main"
|
||||
serve = "{{ cookiecutter.project_name }}:main"
|
||||
serve = "{{ cookiecutter.project_name }}:main"
|
||||
Reference in New Issue
Block a user