-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (83 loc) · 2.35 KB
/
pyproject.toml
File metadata and controls
98 lines (83 loc) · 2.35 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "pearsonify/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["pearsonify"]
[tool.hatch.build.targets.sdist]
include = [
"/pearsonify",
"/tests",
"/README.md",
"/LICENSE.md",
]
[project]
name = "pearsonify"
dynamic = ["version"]
description = "A lightweight package for computing confidence intervals for classification tasks using conformal prediction and Pearson residuals."
authors = [
{ name = "xRiskLab", email = "contact@xrisklab.ai" }
]
license = "MIT"
readme = "README.md"
keywords = ["conformal prediction", "pearson residuals", "confidence intervals", "classification", "machine learning"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.9"
dependencies = [
"numpy>=1.24.0,<2.0.0",
"scikit-learn>=1.2.0,<2.0.0",
"matplotlib>=3.7.0,<4.0.0",
]
[project.urls]
Repository = "https://github.com/xRiskLab/pearsonify"
Homepage = "https://github.com/xRiskLab/pearsonify"
[dependency-groups]
dev = [
"pytest>=7.2.0,<9.0.0",
"black>=24.4.2,<25.0.0",
"isort>=5.13.2,<6.0.0",
"pylint>=3.2.6,<4.0.0",
"pre-commit>=4.0.1,<5.0.0",
"ruff>=0.11.2",
"mypy>=1.0.0",
"scikit-learn-stubs",
]
[tool.uv]
default-groups = ["dev"]
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
line_length = 88
[tool.pytest.ini_options]
pythonpath = ["."]
[tool.ruff]
line-length = 88
target-version = "py39"
lint.select = ["E", "F", "W", "I", "N", "B", "C4", "UP"]
lint.ignore = ["E203", "E501"]
exclude = [".github"]
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["D100", "D103", "N806"]
"pearsonify/*.py" = ["N803"]
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true