-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (114 loc) · 2.54 KB
/
pyproject.toml
File metadata and controls
131 lines (114 loc) · 2.54 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[project]
name = "quantflow"
version = "0.7.0"
description = "quantitative analysis"
authors = [ { name = "Luca Sbardella", email = "luca@quantmind.com" } ]
license = "BSD-3-Clause"
readme = "readme.md"
requires-python = ">=3.11,<3.15"
dependencies = [
"scipy>=1.14.1",
"pydantic>=2.0.2",
"ccy>=2.0.0",
"python-dotenv>=1.0.1",
"polars[pandas,pyarrow]>=1.11.0",
"statsmodels>=0.14.6,<0.15.0",
]
[project.urls]
Homepage = "https://github.com/quantmind/quantflow"
Repository = "https://github.com/quantmind/quantflow"
Documentation = "https://quantmind.github.io/quantflow/"
[project.optional-dependencies]
ai = [
"asciichartpy>=1.5.25",
"ccy[holidays]>=2.0.0",
"google-genai>=1.61.0",
"mcp>=1.26.0",
"openai>=2.16.0",
"pydantic-ai-slim>=1.51.0",
"rich>=13.9.4",
]
book = [
"altair>=6.0.0",
"autodocsumm>=0.2.14",
"duckdb>=1.4.4",
"fastapi>=0.129.0",
"marimo>=0.19.7",
"plotly>=6.2.0",
"sympy>=1.12",
]
data = [ "aio-fluid[http]>=1.2.1" ]
dev = [
"black>=26.3.1",
"ghp-import>=2.0.2",
"isort>=8.0.0",
"mypy>=1.14.1",
"pytest-asyncio>=1.0.0",
"pytest-cov>=7.0.0",
"ruff>=0.15.4",
"types-python-dateutil>=2.9.0.20251115",
]
docs = [
"griffe-pydantic>=1.1.0",
"griffe-typingdoc>=0.2.7",
"kaleido>=1.2.0",
"mkdocs-macros-plugin>=1.3.7",
"mkdocs-material>=9.7.0",
"mkdocs-redirects>=1.2.1",
"mkdocstrings[python]==1.0.0",
]
ml = [
"torch>=2.10.0",
]
[project.scripts]
qf-mcp = "quantflow.ai.server:main"
[build-system]
requires = [ "hatchling" ]
build-backend = "hatchling.build"
[tool.uv.workspace]
members = [ "packages/*" ]
[tool.uv.sources]
torch = { index = "pytorch" }
[[tool.uv.index]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cu126"
explicit = true
[tool.jupytext.formats]
"notebooks/" = "ipynb,py:percent"
[tool.marimo.display]
theme = "dark"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = [ "quantflow_tests" ]
[tool.coverage.report]
exclude_also = [
"@abstractmethod",
]
[tool.isort]
profile = "black"
[tool.ruff]
lint.select = [ "E", "F" ]
line-length = 88
[tool.hatch.version]
path = "quantflow/__init__.py"
[tool.mypy]
# strict = true
disallow_untyped_calls = true
disallow_untyped_defs = true
warn_no_return = true
[[tool.mypy.overrides]]
module = [
"asciichartpy.*",
"cache.*",
"quantflow_tests.*",
"IPython.*",
"pandas.*",
"plotly.*",
"scipy.*",
]
ignore_missing_imports = true
disallow_untyped_defs = false
[dependency-groups]
dev = [
"hypothesis>=6.152.2",
]