scikit-extensions 0.1.2__tar.gz → 0.2.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.
@@ -1,32 +1,28 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: scikit-extensions
3
- Version: 0.1.2
3
+ Version: 0.2.0
4
4
  Summary: A collection of Scikit-learn-compatible transformers for feature engineering, preprocessing, and pipeline utilities.
5
- Home-page: https://github.com/sh99/scikit-extensions
6
- License: MIT
7
5
  Keywords: scikit-learn,transformers,preprocessing,pipeline
8
6
  Author: sh99
9
- Author-email: shriramh99@gmail.com
10
- Requires-Python: >=3.10,<3.14
11
- Classifier: Intended Audience :: Developers
12
- Classifier: License :: OSI Approved :: MIT License
7
+ Author-email: sh99 <shriramh99@gmail.com>
8
+ License-Expression: MIT
13
9
  Classifier: Programming Language :: Python :: 3
14
- Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Programming Language :: Python :: 3.12
10
+ Classifier: Intended Audience :: Developers
17
11
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
18
- Requires-Dist: pandas (>=2.3.2,<3.0.0)
19
- Requires-Dist: scikit-learn (>=1.7.2,<2.0.0)
20
- Requires-Dist: statsmodels (>=0.14.5,<0.15.0)
21
- Project-URL: Repository, https://github.com/sh99/scikit-extensions
12
+ Requires-Dist: scikit-learn>=1.7.2,<2.0.0
13
+ Requires-Dist: pandas>=2.3.2,<3.0.0
14
+ Requires-Dist: statsmodels>=0.14.5,<0.15.0
15
+ Requires-Python: >=3.10, <3.14
16
+ Project-URL: Homepage, https://github.com/sh99-git/scikit-extensions
17
+ Project-URL: Repository, https://github.com/sh99-git/scikit-extensions
22
18
  Description-Content-Type: text/markdown
23
19
 
24
20
  # Scikit-extensions
25
21
 
26
22
  [![PyPI version](https://badge.fury.io/py/scikit-extensions.svg)](https://badge.fury.io/py/scikit-extensions)
27
23
  [![Python](https://img.shields.io/pypi/pyversions/scikit-extensions.svg)](https://pypi.org/project/scikit-extensions/)
28
- [![Tests](https://github.com/sh99/scikit-extensions/workflows/Tests/badge.svg)](https://github.com/sh99/scikit-extensions/actions)
29
- [![Coverage](https://codecov.io/gh/sh99/scikit-extensions/branch/main/graph/badge.svg)](https://codecov.io/gh/sh99/scikit-extensions)
24
+ [![Tests](https://github.com/sh99-git/scikit-extensions/workflows/Tests/badge.svg)](https://github.com/sh99-git/scikit-extensions/actions)
25
+ [![Coverage](https://codecov.io/gh/sh99-git/scikit-extensions/branch/main/graph/badge.svg)](https://codecov.io/gh/sh99-git/scikit-extensions)
30
26
 
31
27
  A collection of Scikit-learn-compatible transformers for feature engineering, preprocessing, and pipeline utilities.
32
28
 
@@ -36,9 +32,9 @@ A collection of Scikit-learn-compatible transformers for feature engineering, pr
36
32
  pip install scikit-extensions
37
33
  ```
38
34
 
39
- Or with Poetry:
35
+ Or with uv:
40
36
  ```bash
41
- poetry add scikit-extensions
37
+ uv add scikit-extensions
42
38
  ```
43
39
 
44
40
  ## Features
@@ -103,13 +99,13 @@ transformed = mlb.fit_transform(data)
103
99
 
104
100
  1. Clone the repository:
105
101
  ```bash
106
- git clone https://github.com/sh99/scikit-extensions.git
102
+ git clone https://github.com/sh99-git/scikit-extensions.git
107
103
  cd scikit-extensions
108
104
  ```
109
105
 
110
106
  2. Install dependencies:
111
107
  ```bash
112
- poetry install
108
+ uv sync
113
109
  ```
114
110
 
115
111
  ### Running Tests
@@ -137,4 +133,3 @@ MIT License. See LICENSE file for details.
137
133
  - scikit-learn ≥ 1.7.2
138
134
  - pandas ≥ 2.3.2
139
135
  - statsmodels ≥ 0.14.5
140
-
@@ -2,8 +2,8 @@
2
2
 
3
3
  [![PyPI version](https://badge.fury.io/py/scikit-extensions.svg)](https://badge.fury.io/py/scikit-extensions)
4
4
  [![Python](https://img.shields.io/pypi/pyversions/scikit-extensions.svg)](https://pypi.org/project/scikit-extensions/)
5
- [![Tests](https://github.com/sh99/scikit-extensions/workflows/Tests/badge.svg)](https://github.com/sh99/scikit-extensions/actions)
6
- [![Coverage](https://codecov.io/gh/sh99/scikit-extensions/branch/main/graph/badge.svg)](https://codecov.io/gh/sh99/scikit-extensions)
5
+ [![Tests](https://github.com/sh99-git/scikit-extensions/workflows/Tests/badge.svg)](https://github.com/sh99-git/scikit-extensions/actions)
6
+ [![Coverage](https://codecov.io/gh/sh99-git/scikit-extensions/branch/main/graph/badge.svg)](https://codecov.io/gh/sh99-git/scikit-extensions)
7
7
 
8
8
  A collection of Scikit-learn-compatible transformers for feature engineering, preprocessing, and pipeline utilities.
9
9
 
@@ -13,9 +13,9 @@ A collection of Scikit-learn-compatible transformers for feature engineering, pr
13
13
  pip install scikit-extensions
14
14
  ```
15
15
 
16
- Or with Poetry:
16
+ Or with uv:
17
17
  ```bash
18
- poetry add scikit-extensions
18
+ uv add scikit-extensions
19
19
  ```
20
20
 
21
21
  ## Features
@@ -80,13 +80,13 @@ transformed = mlb.fit_transform(data)
80
80
 
81
81
  1. Clone the repository:
82
82
  ```bash
83
- git clone https://github.com/sh99/scikit-extensions.git
83
+ git clone https://github.com/sh99-git/scikit-extensions.git
84
84
  cd scikit-extensions
85
85
  ```
86
86
 
87
87
  2. Install dependencies:
88
88
  ```bash
89
- poetry install
89
+ uv sync
90
90
  ```
91
91
 
92
92
  ### Running Tests
@@ -0,0 +1,67 @@
1
+ [project]
2
+ name = "scikit-extensions"
3
+ version = "0.2.0"
4
+ description = "A collection of Scikit-learn-compatible transformers for feature engineering, preprocessing, and pipeline utilities."
5
+ readme = "README.md"
6
+ license = "MIT"
7
+ requires-python = ">=3.10,<3.14"
8
+ keywords = [
9
+ "scikit-learn",
10
+ "transformers",
11
+ "preprocessing",
12
+ "pipeline",
13
+ ]
14
+ classifiers = [
15
+ "Programming Language :: Python :: 3",
16
+ "Intended Audience :: Developers",
17
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
18
+ ]
19
+ dependencies = [
20
+ "scikit-learn>=1.7.2,<2.0.0",
21
+ "pandas>=2.3.2,<3.0.0",
22
+ "statsmodels>=0.14.5,<0.15.0",
23
+ ]
24
+
25
+ [[project.authors]]
26
+ name = "sh99"
27
+ email = "shriramh99@gmail.com"
28
+
29
+ [project.urls]
30
+ Homepage = "https://github.com/sh99-git/scikit-extensions"
31
+ Repository = "https://github.com/sh99-git/scikit-extensions"
32
+
33
+ [dependency-groups]
34
+ dev = [
35
+ "pytest>=7.0,<8.0",
36
+ "pytest-cov>=4.1.0,<5.0.0",
37
+ "black>=23.0,<24.0",
38
+ "ruff>=0.1.0,<0.2.0",
39
+ "mypy>=1.7,<2.0",
40
+ ]
41
+
42
+ [build-system]
43
+ requires = ["uv_build>=0.8.0,<0.13"]
44
+ build-backend = "uv_build"
45
+
46
+ [tool.uv.build-backend]
47
+ module-name = "skext"
48
+ module-root = ""
49
+
50
+ [tool.pytest.ini_options]
51
+ minversion = "7.0"
52
+ addopts = "-ra -q --cov=skext --cov-report=term-missing"
53
+ testpaths = ["tests"]
54
+
55
+ [tool.coverage.run]
56
+ source = ["skext"]
57
+ branch = true
58
+
59
+ [tool.coverage.report]
60
+ exclude_lines = [
61
+ "pragma: no cover",
62
+ "def __repr__",
63
+ "raise NotImplementedError",
64
+ "if __name__ == .__main__.:",
65
+ "if TYPE_CHECKING:",
66
+ ]
67
+ fail_under = 80
@@ -1,42 +1,43 @@
1
- [tool.poetry]
1
+ [project]
2
2
  name = "scikit-extensions"
3
- version = "0.1.2"
3
+ version = "0.2.0"
4
4
  description = "A collection of Scikit-learn-compatible transformers for feature engineering, preprocessing, and pipeline utilities."
5
- authors = ["sh99 <shriramh99@gmail.com>"]
5
+ authors = [{ name = "sh99", email = "shriramh99@gmail.com" }]
6
6
  readme = "README.md"
7
7
  license = "MIT"
8
- packages = [{ include = "skext" }]
9
- homepage = "https://github.com/sh99/scikit-extensions"
10
- repository = "https://github.com/sh99/scikit-extensions"
8
+ requires-python = ">=3.10,<3.14"
11
9
  keywords = ["scikit-learn", "transformers", "preprocessing", "pipeline"]
12
10
  classifiers = [
13
11
  "Programming Language :: Python :: 3",
14
- "License :: OSI Approved :: MIT License",
15
12
  "Intended Audience :: Developers",
16
13
  "Topic :: Scientific/Engineering :: Artificial Intelligence"
17
14
  ]
15
+ dependencies = [
16
+ "scikit-learn>=1.7.2,<2.0.0",
17
+ "pandas>=2.3.2,<3.0.0",
18
+ "statsmodels>=0.14.5,<0.15.0",
19
+ ]
18
20
 
19
- [tool.poetry.dependencies]
20
- python = ">=3.10,<3.14"
21
- scikit-learn = "^1.7.2"
22
- pandas = "^2.3.2"
23
- statsmodels = "^0.14.5"
21
+ [project.urls]
22
+ Homepage = "https://github.com/sh99-git/scikit-extensions"
23
+ Repository = "https://github.com/sh99-git/scikit-extensions"
24
24
 
25
- [tool.poetry.dev-dependencies]
26
- pytest = "^7.0"
27
- pytest-cov = "^4.1.0"
28
- black = "^23.0"
29
- ruff = "^0.1.0"
30
- mypy = "^1.7"
25
+ [dependency-groups]
26
+ dev = [
27
+ "pytest>=7.0,<8.0",
28
+ "pytest-cov>=4.1.0,<5.0.0",
29
+ "black>=23.0,<24.0",
30
+ "ruff>=0.1.0,<0.2.0",
31
+ "mypy>=1.7,<2.0",
32
+ ]
31
33
 
32
34
  [build-system]
33
- requires = [
34
- "poetry-core",
35
- "pytest",
36
- "pytest-cov"
37
- ]
38
- build-backend = "poetry.core.masonry.api"
39
- build-hooks = ["build.py:build_hook"]
35
+ requires = ["uv_build>=0.8.0,<0.13"]
36
+ build-backend = "uv_build"
37
+
38
+ [tool.uv.build-backend]
39
+ module-name = "skext"
40
+ module-root = ""
40
41
 
41
42
  [tool.pytest.ini_options]
42
43
  minversion = "7.0"
@@ -3,7 +3,7 @@ import pandas as pd
3
3
  from sklearn.base import BaseEstimator, TransformerMixin
4
4
 
5
5
 
6
- class MulticollinearityRemover(BaseEstimator, TransformerMixin):
6
+ class MultiCollinearityReducer(BaseEstimator, TransformerMixin):
7
7
  """
8
8
  Transformer to remove multicollinearity by dropping highly correlated features.
9
9
 
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 sh99-git
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.