-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (47 loc) · 1.73 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (47 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[build-system]
requires = ["hatchling>=1.25", "editables>=0.5"]
build-backend = "hatchling.build"
[project]
name = "alphagym"
version = "0.2.1"
description = "AlphaGYM — extensible multi-market, multi-asset quant research toolbox"
readme = "README.md"
license = "MIT"
requires-python = ">=3.12,<3.13"
dependencies = [
"clickhouse-connect>=0.10,<1",
"jinja2>=3.1,<4",
"numpy>=1.26,<3",
"pandas>=2.2,<4",
"pyarrow>=18,<27",
"PyYAML>=6,<7",
"scipy>=1.13,<2",
]
[project.optional-dependencies]
web = ["fastapi>=0.115,<1", "python-multipart>=0.0.20,<1", "uvicorn>=0.34,<1"]
ml = ["scikit-learn>=1.5,<2"]
boosting = ["alphagym[ml]", "xgboost>=2.1,<4", "lightgbm>=4.5,<5"]
pdf = ["reportlab>=4.2,<5"]
all = ["alphagym[web,boosting,pdf,data,research]"]
data = ["tushare>=1.4,<2"]
research = ["vectorbt==1.1.0", "plotly>=5,<7"]
dev = ["alphagym[web,boosting,pdf,research]", "httpx>=0.27,<1", "build>=1.2,<2", "pytest>=8.3,<9", "pytest-cov>=5,<7", "ruff>=0.8,<1"]
[project.scripts]
alphagym = "alphagym.cli:main"
[project.urls]
Homepage = "https://github.com/Lawrenceeeeeeee/alphagym"
Repository = "https://github.com/Lawrenceeeeeeee/alphagym"
Documentation = "https://github.com/Lawrenceeeeeeee/alphagym/tree/master/docs"
[tool.hatch.build.targets.wheel]
packages = ["src/alphagym"]
[tool.hatch.build.targets.sdist]
include = ["/src/alphagym", "/tests", "/scripts", "/docs", "/README.md", "/CHANGELOG.md", "/pyproject.toml",
"/AGENTS.md", "/config/equity_research.yaml", "/config/report.example.yaml", "/qmt",
"/compose.yaml", "/config/clickhouse-server.xml", "/config/storage.example.yaml"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = ["legacy"]