- crypto.py: API Key 加密/解密工具 - runtime_config.py: 运行时动态配置管理 - log_buffer.py: 内存日志缓冲区 - config.py: 新增加密配置项 - http_client.py: 增强重试和错误处理
38 lines
736 B
TOML
38 lines
736 B
TOML
[project]
|
|
name = "profeto"
|
|
version = "0.1.0"
|
|
description = "足球数据 + LLM 预测服务"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.110",
|
|
"uvicorn[standard]>=0.29",
|
|
"pydantic>=2.7",
|
|
"pydantic-settings>=2.3",
|
|
"SQLAlchemy>=2.0",
|
|
"asyncpg>=0.29",
|
|
"psycopg2-binary>=2.9",
|
|
"httpx>=0.27",
|
|
"alembic>=1.13",
|
|
"cryptography>=42.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.23",
|
|
"httpx>=0.27",
|
|
"alembic>=1.13",
|
|
"cryptography>=42.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|