Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (70 loc) · 2.39 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (70 loc) · 2.39 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "quant-data-kit"
dynamic = ["version"]
description = "Shared data providers, Parquet cache, and validation for quant research repos"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
dependencies = [
"pandas>=2.0,<3.0",
"numpy>=1.24,<2.3",
"pyarrow>=14.0",
"pyyaml>=6.0",
"jsonschema>=4.20",
"jsonschema-rs>=0.30,<1.0",
"orjson>=3.11,<4.0",
"duckdb>=1.4,<2.0",
"typing-extensions>=4.4",
"websockets>=15.0,<17.0",
]
[project.optional-dependencies]
us-research = ["exchange-calendars>=4.5,<5", "yfinance>=0.2.65,<2", "requests>=2.32,<3"]
hong-kong = ["akshare>=1.12", "exchange-calendars>=4.10,<5"]
akshare = ["akshare>=1.12"]
baostock = ["baostock>=0.8.9"]
tushare = ["tushare>=1.4.24"]
yahoo = ["yfinance>=0.2.65"]
alpha-vantage = ["requests>=2.32,<3"]
all-equity-providers = [
"akshare>=1.12",
"baostock>=0.8.9",
"tushare>=1.4.24",
"yfinance>=0.2.65",
"requests>=2.32,<3",
]
dev = ["coverage>=7.6", "psutil>=6.0,<8.0", "pytest>=7.4", "ruff>=0.9.0", "exchange-calendars>=4.5,<5"]
[project.scripts]
qdk-artifacts = "quant_data_kit.artifact_cli:main"
qdk-validate = "quant_data_kit.cli:main_validate"
qdk-manifest = "quant_data_kit.cli:main_manifest"
qdk-catalog = "quant_data_kit.cli:main_catalog"
qdk-capture = "quant_data_kit.capture_v2.cli:main_capture"
qdk-providers = "quant_data_kit.cli:main_providers"
qdk-research-inputs = "quant_data_kit.research_inputs:main"
qdk-research-dataset = "quant_data_kit.research_dataset:main"
qdk-research-intake = "quant_data_kit.research_intake:main"
qdk-financial = "quant_data_kit.financial.cli:main"
qdk-derivatives = "quant_data_kit.derivatives.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = { attr = "quant_data_kit._version.__version__" }
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.quant-workspace]
layer = "data"
schemas = [
{ id = "puresaber.market-events", version = "2.0.0" },
{ id = "puresaber.instrument-master", version = "2.0.0" },
{ id = "puresaber.curated-aggregation", version = "1.0.0" },
{ id = "puresaber.market-context", version = "1.0.0" },
{ id = "puresaber.verified-factor-input", version = "1.0.0" },
]
lock-files = ["requirements.lock"]