fitrank 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,37 @@
1
+ # Byte-compiled / cache
2
+ __pycache__/
3
+ *.py[cod]
4
+ *.so
5
+
6
+ # Packaging
7
+ build/
8
+ dist/
9
+ *.egg-info/
10
+ .eggs/
11
+
12
+ # Virtual environments
13
+ .venv/
14
+ venv/
15
+ env/
16
+
17
+ # Tests and coverage
18
+ .pytest_cache/
19
+ .coverage
20
+ .coverage.*
21
+ htmlcov/
22
+ coverage.xml
23
+
24
+ # Tool caches
25
+ .mypy_cache/
26
+ .ruff_cache/
27
+
28
+ # FitRank run outputs
29
+ runs/
30
+
31
+ # Editors and OS
32
+ .vscode/
33
+ .idea/
34
+ .DS_Store
35
+ Thumbs.db
36
+
37
+ .claude/
fitrank-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Faïd Adéshinan ALAGBE
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
fitrank-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,52 @@
1
+ Metadata-Version: 2.5
2
+ Name: fitrank
3
+ Version: 0.1.0
4
+ Summary: Train, compare and rank scikit-learn models from a single YAML config.
5
+ Project-URL: Homepage, https://github.com/Adeshinan/fitrank
6
+ Project-URL: Repository, https://github.com/Adeshinan/fitrank
7
+ Project-URL: Issues, https://github.com/Adeshinan/fitrank/issues
8
+ Author: Faïd Adéshinan ALAGBE
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Keywords: automl,benchmark,machine-learning,model-selection,scikit-learn
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
22
+ Classifier: Typing :: Typed
23
+ Requires-Python: >=3.10
24
+ Requires-Dist: joblib>=1.3
25
+ Requires-Dist: numpy>=1.24
26
+ Requires-Dist: pandas>=2.0
27
+ Requires-Dist: pydantic>=2.0
28
+ Requires-Dist: pyyaml>=6.0
29
+ Requires-Dist: rich>=13.0
30
+ Requires-Dist: scikit-learn>=1.4
31
+ Requires-Dist: typer>=0.12
32
+ Provides-Extra: dev
33
+ Requires-Dist: build; extra == 'dev'
34
+ Requires-Dist: mypy>=1.10; extra == 'dev'
35
+ Requires-Dist: pandas-stubs; extra == 'dev'
36
+ Requires-Dist: pre-commit>=3.7; extra == 'dev'
37
+ Requires-Dist: pytest-cov>=5.0; extra == 'dev'
38
+ Requires-Dist: pytest>=8.0; extra == 'dev'
39
+ Requires-Dist: ruff>=0.6; extra == 'dev'
40
+ Requires-Dist: twine; extra == 'dev'
41
+ Requires-Dist: types-pyyaml; extra == 'dev'
42
+ Provides-Extra: excel
43
+ Requires-Dist: openpyxl>=3.1; extra == 'excel'
44
+ Provides-Extra: parquet
45
+ Requires-Dist: pyarrow>=14.0; extra == 'parquet'
46
+ Description-Content-Type: text/markdown
47
+
48
+ # FitRank
49
+
50
+ Train, compare and rank scikit-learn models from a single YAML config. Find the best model for your data.
51
+
52
+ > Work in progress — version 1.0 planned for November 2026.
@@ -0,0 +1,5 @@
1
+ # FitRank
2
+
3
+ Train, compare and rank scikit-learn models from a single YAML config. Find the best model for your data.
4
+
5
+ > Work in progress — version 1.0 planned for November 2026.
@@ -0,0 +1,108 @@
1
+ [build-system]
2
+ requires = ["hatchling>=1.27"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "fitrank"
7
+ dynamic = ["version"]
8
+ description = "Train, compare and rank scikit-learn models from a single YAML config."
9
+ readme = "README.md"
10
+ license = "MIT"
11
+ license-files = ["LICENSE"]
12
+ requires-python = ">=3.10"
13
+ authors = [{ name = "Faïd Adéshinan ALAGBE" }]
14
+ keywords = ["machine-learning", "scikit-learn", "model-selection", "automl", "benchmark"]
15
+ classifiers = [
16
+ "Development Status :: 3 - Alpha",
17
+ "Intended Audience :: Developers",
18
+ "Intended Audience :: Science/Research",
19
+ "Operating System :: OS Independent",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.10",
22
+ "Programming Language :: Python :: 3.11",
23
+ "Programming Language :: Python :: 3.12",
24
+ "Programming Language :: Python :: 3.13",
25
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
26
+ "Typing :: Typed",
27
+ ]
28
+ dependencies = [
29
+ "scikit-learn>=1.4",
30
+ "pandas>=2.0",
31
+ "numpy>=1.24",
32
+ "pyyaml>=6.0",
33
+ "pydantic>=2.0",
34
+ "joblib>=1.3",
35
+ "typer>=0.12",
36
+ "rich>=13.0",
37
+ ]
38
+
39
+ [project.optional-dependencies]
40
+ excel = ["openpyxl>=3.1"]
41
+ parquet = ["pyarrow>=14.0"]
42
+ dev = [
43
+ "pytest>=8.0",
44
+ "pytest-cov>=5.0",
45
+ "ruff>=0.6",
46
+ "mypy>=1.10",
47
+ "pre-commit>=3.7",
48
+ "pandas-stubs",
49
+ "types-PyYAML",
50
+ "build",
51
+ "twine",
52
+ ]
53
+
54
+ # The `fitrank` command is added on day 8 (feat/j08-api-cli):
55
+ # [project.scripts]
56
+ # fitrank = "fitrank.cli:app"
57
+
58
+ [project.urls]
59
+ Homepage = "https://github.com/Adeshinan/fitrank"
60
+ Repository = "https://github.com/Adeshinan/fitrank"
61
+ Issues = "https://github.com/Adeshinan/fitrank/issues"
62
+
63
+ [tool.hatch.version]
64
+ path = "src/fitrank/__init__.py"
65
+
66
+ [tool.hatch.build.targets.wheel]
67
+ packages = ["src/fitrank"]
68
+
69
+ [tool.hatch.build.targets.sdist]
70
+ include = ["src/fitrank", "tests", "README.md", "LICENSE", "pyproject.toml"]
71
+
72
+ [tool.ruff]
73
+ line-length = 100
74
+ target-version = "py310"
75
+ src = ["src", "tests"]
76
+
77
+ [tool.ruff.lint]
78
+ select = [
79
+ "E", # pycodestyle errors
80
+ "W", # pycodestyle warnings
81
+ "F", # pyflakes
82
+ "I", # isort
83
+ "B", # flake8-bugbear
84
+ "UP", # pyupgrade
85
+ "SIM", # flake8-simplify
86
+ "N", # pep8-naming
87
+ ]
88
+ ignore = [
89
+ "N803", # scikit-learn convention: argument names X, X_train
90
+ "N806", # scikit-learn convention: variable names X, X_train
91
+ ]
92
+
93
+ [tool.mypy]
94
+ python_version = "3.10"
95
+ strict = true
96
+ files = ["src"]
97
+
98
+ [[tool.mypy.overrides]]
99
+ module = ["sklearn.*", "joblib.*"]
100
+ ignore_missing_imports = true
101
+
102
+ [tool.pytest.ini_options]
103
+ testpaths = ["tests"]
104
+ addopts = "-ra"
105
+
106
+ [tool.coverage.run]
107
+ source = ["fitrank"]
108
+ branch = true
@@ -0,0 +1,5 @@
1
+ """FitRank: train, compare and rank scikit-learn models from a single YAML config."""
2
+
3
+ __version__ = "0.1.0"
4
+
5
+ __all__ = ["__version__"]
File without changes
@@ -0,0 +1,13 @@
1
+ """Smoke tests: the package installs and exposes its version."""
2
+
3
+ import re
4
+
5
+ import fitrank
6
+
7
+
8
+ def test_version_is_exposed() -> None:
9
+ assert fitrank.__version__ == "0.1.0"
10
+
11
+
12
+ def test_version_follows_semver() -> None:
13
+ assert re.fullmatch(r"\d+\.\d+\.\d+([a-z]+\d+)?", fitrank.__version__)