forked from mmschlk/shapiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
122 lines (110 loc) · 2.94 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "shapiq"
dynamic = ["version", "readme"]
description = "Shapley Interactions for Machine Learning"
requires-python = ">=3.10"
dependencies = [
# core
"numpy",
"scipy",
"pandas",
"scikit-learn",
"tqdm",
"requests",
# plotting
"matplotlib",
"networkx",
"colour",
]
authors = [
{name = "Maximilian Muschalik", email = "[email protected]"},
{name = "Hubert Baniecki"},
{name = "Fabian Fumagalli"},
]
maintainers = [
{name = "Maximilian Muschalik", email = "[email protected]"},
]
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
]
keywords = [
"python",
"machine learning",
"interpretable machine learning",
"shap",
"xai",
"explainable ai",
"interaction",
"shapley interactions",
"shapley values",
"feature interaction",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["shapiq*"]
[tool.setuptools.dynamic]
version = {attr = "shapiq.__version__"}
readme = {file = ["README.md", "CHANGELOG.md"]}
[project.urls]
documentation = "https://shapiq.readthedocs.io"
source = "https://github.com/mmschlk/shapiq"
tracker = "https://github.com/mmschlk/shapiq/issues"
changelog = "https://github.com/mmschlk/shapiq/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = [
# Lint/format
"pre-commit",
"ruff",
# "mypy", # TODO: incorporate mypy
# Test
"pytest",
"coverage",
"build",
"twine",
]
doc = [
"sphinx",
"sphinx-autodoc-typehints",
"sphinx_rtd_theme",
"sphinx_toolbox",
# "myst_nb",
"nbsphinx", # for rendering jupyter notebooks
"pandoc", # for rendering jupyter notebooks
"furo", # theme of the docs
"sphinx-copybutton", # easier copy-pasting of code snippets from docs
"myst-parser", # parse md and rst files
]
[tool.pytest.ini_options]
testpaths = ["tests"]
minversion = "8.0"
[tool.black]
line-length = 100
target-version = ['py310', 'py311', 'py312', 'py313']
[tool.ruff]
lint.select = ["E", "F", "I", "UP"] # https://beta.ruff.rs/docs/rules/
lint.ignore = ["E501"]
line-length = 100
target-version = "py310"
[tool.ruff.lint.isort]
known-first-party = ["shapiq"]
extra-standard-library = ["typing_extensions"]
combine-as-imports = true
force-wrap-aliases = true
[tool.uv.workspace]
members = ["shapiq/shapiq"]