-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (100 loc) · 3.12 KB
/
pyproject.toml
File metadata and controls
109 lines (100 loc) · 3.12 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "quantlabs"
version = "0.3.0"
description = "Professional quantitative trading research platform with ML-powered backtesting, multi-source options analysis, portfolio management, and interactive Plotly visualizations"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
authors = [
{name = "nittygritty-zzy", email = "nittygritty-zzy@users.noreply.github.com"},
]
maintainers = [
{name = "nittygritty-zzy", email = "nittygritty-zzy@users.noreply.github.com"},
]
keywords = [
"quantitative-finance",
"algorithmic-trading",
"portfolio-management",
"options-trading",
"backtesting",
"machine-learning",
"qlib",
"financial-analysis",
"data-visualization",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Scientific/Engineering :: Information Analysis",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
]
dependencies = [
"click>=8.0.0",
"duckdb>=0.9.0",
"pyyaml>=6.0",
"tabulate>=0.9.0",
"pandas>=2.0.0",
"numpy>=1.24.0",
"scipy>=1.10.0",
"plotly>=5.18.0",
"polygon-api-client>=1.12.0",
"yfinance>=0.2.0",
"requests>=2.31.0",
"openpyxl>=3.1.5",
"python-dotenv>=1.0.1",
]
[project.urls]
Homepage = "https://github.com/nittygritty-zzy/quantlab"
Documentation = "https://quantlabs.readthedocs.io"
Repository = "https://github.com/nittygritty-zzy/quantlab"
"Bug Tracker" = "https://github.com/nittygritty-zzy/quantlab/issues"
Changelog = "https://github.com/nittygritty-zzy/quantlab/releases"
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=5.0.0",
"black>=23.0.0",
"ruff>=0.1.0",
"sphinx>=7.1.2",
"sphinx-rtd-theme>=3.0.2",
"sphinx-autodoc-typehints>=2.0.1",
"sphinxcontrib-napoleon>=0.7",
"myst-parser>=3.0.1",
]
[project.scripts]
quantlab = "quantlab.cli.main:cli"
[tool.hatch.build.targets.wheel]
packages = ["quantlab"]
[tool.black]
line-length = 120
target-version = ["py38", "py39", "py310", "py311"]
[tool.ruff]
line-length = 120
target-version = "py38"
[tool.pytest.ini_options]
markers = [
"integration: Integration tests using real components (no mocking)",
]
# Disable assertion rewriting for DuckDB C extension modules
# This fixes "ModuleNotFoundError: No module named '_duckdb._sqltypes'" issue
filterwarnings = [
"ignore::DeprecationWarning",
]
# Don't rewrite assertions in duckdb modules (C extension compatibility)
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
# Prevent pytest from trying to rewrite duckdb imports
addopts = "-p no:cacheprovider --import-mode=importlib"