Parquet + DuckDB storage with REST/WebSocket APIs for Chinese A-share market data. Supports 9 K-line frequencies with dual backend (East Money / Sina) and auto-fallback. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
39 lines
813 B
TOML
39 lines
813 B
TOML
[project]
|
|
name = "ashare-dp"
|
|
version = "0.1.0"
|
|
description = "A-Share Data Platform: Parquet + DuckDB storage with REST/WebSocket APIs"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"akshare>=1.17.0",
|
|
"duckdb>=1.2.0",
|
|
"fastapi>=0.115.0",
|
|
"uvicorn[standard]>=0.34.0",
|
|
"pydantic>=2.0",
|
|
"pydantic-settings>=2.0",
|
|
"apscheduler>=3.10.0",
|
|
"typer>=0.15.0",
|
|
"loguru>=0.7.0",
|
|
"httpx>=0.28.0",
|
|
"pyarrow>=18.0.0",
|
|
"pandas>=2.0",
|
|
"pytz>=2024.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.25.0",
|
|
"pytest-cov>=6.0",
|
|
"ruff>=0.9.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
ashare-dp = "ashare_dp.cli.main:app"
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=75.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|