-
Notifications
You must be signed in to change notification settings - Fork 159
Expand file tree
/
Copy pathpyproject.toml
More file actions
214 lines (193 loc) · 5.55 KB
/
Copy pathpyproject.toml
File metadata and controls
214 lines (193 loc) · 5.55 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "MAPIE"
dynamic = ["version"]
description = "A scikit-learn-compatible module for estimating prediction intervals."
readme = "README.md"
license = "BSD-3-Clause"
license-files = ["LICENSE", "THIRD_PARTY_NOTICES.md"]
maintainers = [
{name = "Valentin Laurent", email = "valentin.laurent@capgemini.com"},
{name = "Louis Lacombe", email = "louis.lacombe@capgemini.com"},
{name = "Vincent Blot", email = "vincent.blot@capgemini.com"},
{name = "Geoffray Brelurut", email = "geoffray.brelurut@capgemini.com"},
{name = "Hassan Maissoro", email = "hassan.maissoro@capgemini.com"},
{name = "Adrien Le Coz", email = "adrien.le-coz@inria.fr"},
]
requires-python = ">=3.10"
dependencies = [
"numpy>=1.24.1",
"scikit-learn>=1.4",
"scipy>=1.10",
]
classifiers = [
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13"
]
[project.urls]
Homepage = "https://github.com/scikit-learn-contrib/MAPIE"
Documentation = "https://mapie.readthedocs.io/en/latest/"
Repository = "https://github.com/scikit-learn-contrib/MAPIE"
Issues = "https://github.com/scikit-learn-contrib/MAPIE/issues"
Changelog = "https://github.com/scikit-learn-contrib/MAPIE/releases"
DOWNLOAD = "https://pypi.org/project/MAPIE/#files"
[project.optional-dependencies]
conditional = [
"covmetrics==0.1.2",
"cvxpy==1.7.5; python_version < '3.11'",
"cvxpy==1.9.1; python_version >= '3.11'",
"pandas>=1.5.3",
"torch>=2.0",
]
experimental = [
"torch>=2.1",
]
dev = [
"MAPIE[conditional,experimental]",
"build==1.3.0",
"codecov==2.1.13",
"cvxpy==1.7.5; python_version < '3.11'",
"cvxpy==1.9.1; python_version >= '3.11'",
"mypy==1.19.1",
"pandas==2.3.3",
"pre-commit==4.0.1",
"pytest==9.0.3",
"pytest-cov==7.0.0",
"pytest-xdist==3.8.0",
"ruff==0.14.3",
"twine==6.2.0",
"wheel==0.46.2",
]
docs = [
"MAPIE[conditional,experimental]",
"cvxpy==1.7.5; python_version < '3.11'",
"cvxpy==1.9.1; python_version >= '3.11'",
"lightgbm==4.6.0",
"matplotlib==3.9.4",
"mkdocs-material==9.7.6",
"mkdocs-gallery==0.10.4",
"mkdocstrings[python]==1.0.4",
"mkdocstrings-python==2.0.4",
"ruff==0.14.3",
"pymdown-extensions==11.0.1",
"pandas==2.3.3",
"typing_extensions==4.15.0",
"torch==2.13.0",
"pytorch-lightning==2.6.5",
"albumentations==2.0.8",
"opencv-python==4.13.0.92",
"huggingface-hub==1.18.0",
"tqdm==4.68.1",
]
notebooks = [
"ipykernel==6.31.0",
"jupyter==1.1.1",
"jupyterlab==4.5.10",
"jupytext==1.18.1",
"nbconvert==7.17.1",
"matplotlib==3.9.4",
"pandas==2.3.3",
"scikeras==0.13.0",
"seaborn==0.13.2",
"tensorflow==2.20.0",
"tensorflow_datasets==4.8.3",
"xgboost==2.1.4",
"plotly==6.5.0",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["mapie", "mapie.*"]
[tool.setuptools_scm]
tag_regex = "^v(?P<version>\\d+\\.\\d+\\.\\d+(?:rc\\d+)?)$"
# Exclude ignored directories.
[tool.ruff]
exclude = [
".coverage",
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"_templates",
"buck-out",
"build",
"dist",
"node_modules",
"notebooks/educational-content",
"site-packages",
"venv",
"list"
]
line-length = 88
indent-width = 4
# Assume Python 3.10
target-version = "py310"
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = ["E4", "E7", "E9", "F"]
ignore = ["COM812"]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
# Ignore notebooks
exclude = ["*.ipynb"]
# Use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"
# Enable auto-formatting of code examples in docstrings. Markdown,
# reStructuredText code/literal blocks and doctests are all supported.
#
# This is currently disabled by default, but it is planned for this
# to be opt-out in the future.
docstring-code-format = false
# Set the line length limit used when formatting code snippets in
# docstrings.
#
# This only has an effect when the `docstring-code-format` setting is
# enabled.
docstring-code-line-length = "dynamic"
[tool.ruff.lint.per-file-ignores]
# Ignores multiple statements on one line, variables never used, import order in notebooks
"*.ipynb" = ["E702", "F841", "E402"]
[tool.coverage.run]
omit = [
"mapie/_example_utils.py",
]