第一版

This commit is contained in:
Rocky
2026-01-22 12:57:26 +08:00
parent 13f7c3d116
commit 1d5936983a
75 changed files with 20108 additions and 0 deletions

44
pyproject.toml Normal file
View File

@@ -0,0 +1,44 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "vitals"
version = "0.1.0"
description = "本地优先的综合健康管理应用"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"typer>=0.9.0",
"rich>=13.0.0",
"fastapi>=0.109.0",
"uvicorn>=0.27.0",
"anthropic>=0.18.0",
"httpx>=0.27.0",
"weasyprint>=60.0",
"pillow>=10.0.0",
"pydantic>=2.0.0",
"bcrypt>=4.0.0",
"PyJWT>=2.8.0",
"python-multipart>=0.0.6",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
]
[project.scripts]
vitals = "vitals.cli:app"
[tool.hatch.build.targets.wheel]
packages = ["src/vitals"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]