|
1 | | -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "pearsonify" |
3 | | -version = "1.0.0" |
| 3 | +version = "1.0.1" |
4 | 4 | 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 | +] |
6 | 8 | license = "MIT" |
7 | 9 | 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 | +] |
8 | 29 |
|
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", |
11 | 42 | ] |
12 | 43 |
|
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 |
18 | 68 |
|
19 | | -[tool.poetry.dev-dependencies] |
20 | | -pytest = "^7.2" |
| 69 | +[tool.ruff.lint.pydocstyle] |
| 70 | +convention = "google" |
21 | 71 |
|
| 72 | +[tool.ruff.lint.per-file-ignores] |
| 73 | +"tests/*.py" = ["D100", "D103"] |
22 | 74 |
|
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 |
0 commit comments