-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
140 lines (125 loc) · 3.28 KB
/
pyproject.toml
File metadata and controls
140 lines (125 loc) · 3.28 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
132
133
134
135
136
137
138
139
140
[project]
name = "openseries"
version = "2.1.7"
description = "Tools for analyzing financial timeseries."
authors = [
{ name = "Martin Karrin", email = "martin.karrin@captor.se" },
]
maintainers = [
{ name = "Martin Karrin", email = "martin.karrin@captor.se" },
]
license = "BSD-3-Clause"
license-files = ["LICENSE.md"]
readme = "README.md"
requires-python = ">=3.11,<3.15"
classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Intended Audience :: Financial and Insurance Industry",
"Topic :: Office/Business :: Financial :: Investment",
"Natural Language :: English",
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Framework :: Pydantic",
]
keywords = [
"python",
"finance",
"fintech",
"data-science",
"timeseries",
"timeseries-data",
"timeseries-analysis",
"investment",
"investment-analysis",
"investing"
]
dependencies = [
"exchange-calendars>=4.8",
"holidays>=0.30",
"numpy>=1.23.2",
"openpyxl>=3.1.2",
"pandas>=2.1.2",
"plotly>=5.18.0",
"pydantic>=2.5.2",
"python-dateutil>=2.8.2",
"requests>=2.20.0",
"scipy>=1.14.1",
"scikit-learn>=1.4.0",
"tzdata (>=2025.3)"
]
[project.urls]
"Homepage" = "https://captorab.github.io/openseries/"
"Documentation" = "https://openseries.readthedocs.io/"
"Source" = "https://github.com/CaptorAB/openseries"
"Issue Tracker" = "https://github.com/CaptorAB/openseries/issues"
"Release Notes" = "https://github.com/CaptorAB/openseries/releases"
[tool.poetry.group.dev.dependencies]
mypy = "1.20.0"
pandas-stubs = ">=2.1.2"
pre-commit = ">=4.5.1"
pytest = ">=9.0.3"
pytest-cov = ">=7.1.0"
pytest-xdist = ">=3.8.0"
ruff = "0.15.9"
types-openpyxl = ">=3.1.2"
scipy-stubs = ">=1.14.1.0"
types-python-dateutil = ">=2.8.2"
types-requests = ">=2.20.0"
[tool.poetry.group.docs.dependencies]
sphinx = ">=9.0.4"
sphinx-autobuild = ">=2025.8.25"
sphinx-autodoc-typehints = ">=3.6.0"
sphinx-rtd-theme = ">=3.1.0rc1"
[build-system]
requires = ["poetry-core>=2.3.2"]
build-backend = "poetry.core.masonry.api"
[tool.setuptools.package-data]
openseries = ["py.typed"]
packages = [
{ include = "openseries" }
]
include = [{ path = "openseries/py.typed", format = ["sdist", "wheel"] }]
[tool.mypy]
python_version = "3.11"
mypy_path = ["."]
cache_dir = ".mypy_cache"
exclude = ["venv/*", "docs/*"]
strict = true
pretty = true
incremental = true
follow_imports = "normal"
warn_unused_configs = true
plugins = ["pydantic.mypy"]
cache_fine_grained = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[tool.ruff]
target-version = "py311"
line-length = 87
exclude = ["docs"]
[tool.ruff.lint]
select = ["ALL"]
ignore = ["COM812"]
fixable = ["ALL"]
pydocstyle = { convention = "google" }
pylint = { max-args = 20, max-branches = 12, max-statements = 48 }
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = [
"-n", "auto",
"--dist=worksteal",
"--cov=openseries",
"--strict-markers",
"--cov-fail-under=99",
"--cov-branch",
"--cov-report=term",
"--cov-report=term-missing",
"--cov-report=xml",
"--junitxml=junit.xml"
]