33 lines
809 B
TOML
33 lines
809 B
TOML
[project]
|
||
name = "stock-backend"
|
||
version = "0.1.0"
|
||
description = "Stock backtest platform backend (FastAPI + self-built backtest engine)"
|
||
requires-python = ">=3.12"
|
||
dependencies = [
|
||
"fastapi>=0.115",
|
||
"uvicorn[standard]>=0.30",
|
||
"pydantic>=2.7",
|
||
"pydantic-settings>=2.3",
|
||
"sqlalchemy>=2.0",
|
||
"asyncpg>=0.29", # PostgreSQL 异步驱动(连你已有的 Postgres / TimescaleDB)
|
||
"numpy>=1.26",
|
||
"pandas>=2.2",
|
||
"tushare>=1.4",
|
||
"httpx>=0.28.1",
|
||
"argon2-cffi>=25.1.0",
|
||
"alembic>=1.19.1",
|
||
"redis>=8.1.0",
|
||
"python-multipart>=0.0.32",
|
||
"openpyxl>=3.1.5",
|
||
]
|
||
|
||
[dependency-groups]
|
||
dev = ["pytest>=8"]
|
||
|
||
[tool.pytest.ini_options]
|
||
testpaths = ["tests"]
|
||
|
||
[tool.uv]
|
||
# 应用型项目(非库):不把自身打包安装,只管理依赖到 .venv
|
||
package = false
|