Skip to content

Commit b4d208b

Browse files
committed
v1.0.1
1 parent 5ab4a04 commit b4d208b

File tree

14 files changed

+1491
-838
lines changed

14 files changed

+1491
-838
lines changed

.DS_Store

-6 KB
Binary file not shown.

.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.DS_Store
2+
**/.DS_Store/
3+
.pytest_cache/
4+
**/.pytest_cache/
5+
__pycache__/
6+
**/__pycache__/
7+
**/__pycache__/*.pyc
8+
*.pyc
9+
**/*.pyc
10+
.trunk
11+
.venv/
12+
.coverage
13+
.test**
14+
15+
# Hide egg-info
16+
*.egg-info/
17+
dist/

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

ims/.DS_Store

-6 KB
Binary file not shown.

pearsonify/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
__version__ = "1.0.1"
2+
3+
from .wrapper import Pearsonify

poetry.lock

Lines changed: 0 additions & 822 deletions
This file was deleted.

pyproject.toml

Lines changed: 69 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,79 @@
1-
[tool.poetry]
1+
[project]
22
name = "pearsonify"
3-
version = "1.0.0"
3+
version = "1.0.1"
44
description = "A lightweight package for computing confidence intervals for classification tasks using conformal prediction and Pearson residuals."
5-
authors = ["xRiskLab <[email protected]>"]
5+
authors = [
6+
{ name = "xRiskLab", email = "[email protected]" }
7+
]
68
license = "MIT"
79
readme = "README.md"
10+
keywords = ["conformal prediction", "pearson residuals", "confidence intervals", "classification", "machine learning"]
11+
classifiers = [
12+
"Development Status :: 4 - Beta",
13+
"Intended Audience :: Developers",
14+
"Intended Audience :: Science/Research",
15+
"Programming Language :: Python :: 3",
16+
"Programming Language :: Python :: 3.9",
17+
"Programming Language :: Python :: 3.10",
18+
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
20+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
21+
"Topic :: Software Development :: Libraries :: Python Modules",
22+
]
23+
requires-python = ">=3.9"
24+
dependencies = [
25+
"numpy>=1.24.0,<2.0.0",
26+
"scikit-learn>=1.2.0,<2.0.0",
27+
"matplotlib>=3.7.0,<4.0.0",
28+
]
829

9-
packages = [
10-
{ include = "pearsonify", from = "src" }
30+
[project.urls]
31+
Repository = "https://github.com/xRiskLab/pearsonify"
32+
Homepage = "https://github.com/xRiskLab/pearsonify"
33+
34+
[dependency-groups]
35+
dev = [
36+
"pytest>=7.2.0,<9.0.0",
37+
"black>=24.4.2,<25.0.0",
38+
"isort>=5.13.2,<6.0.0",
39+
"pylint>=3.2.6,<4.0.0",
40+
"pre-commit>=4.0.1,<5.0.0",
41+
"ruff>=0.11.2",
1142
]
1243

13-
[tool.poetry.dependencies]
14-
python = "^3.9"
15-
numpy = "^1.24"
16-
scikit-learn = "^1.2"
17-
matplotlib = "^3.7"
44+
[tool.setuptools]
45+
packages = ["pearsonify"]
46+
47+
[tool.uv]
48+
default-groups = ["dev"]
49+
50+
[tool.black]
51+
line-length = 88
52+
53+
[tool.isort]
54+
profile = "black"
55+
line_length = 88
56+
57+
[tool.pytest.ini_options]
58+
pythonpath = ["."]
59+
60+
[tool.ruff]
61+
line-length = 88
62+
target-version = "py39"
63+
select = ["E", "F", "W", "I", "N", "B", "C4", "UP"]
64+
ignore = ["E203", "E501"]
65+
66+
[tool.ruff.format]
67+
docstring-code-format = true
1868

19-
[tool.poetry.dev-dependencies]
20-
pytest = "^7.2"
69+
[tool.ruff.lint.pydocstyle]
70+
convention = "google"
2171

72+
[tool.ruff.lint.per-file-ignores]
73+
"tests/*.py" = ["D100", "D103"]
2274

23-
[build-system]
24-
requires = ["poetry-core"]
25-
build-backend = "poetry.core.masonry.api"
75+
[[tool.uv.index]]
76+
name = "testpypi"
77+
url = "https://test.pypi.org/simple/"
78+
publish-url = "https://test.pypi.org/legacy/"
79+
explicit = true

src/pearsonify/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)