2026-01-22 12:57:26 +08:00
|
|
|
[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",
|
2026-01-23 17:44:15 +08:00
|
|
|
"mysql-connector-python>=8.0.0",
|
2026-01-22 12:57:26 +08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[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"]
|