onekit 3.1.0__tar.gz → 4.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.
- {onekit-3.1.0 → onekit-4.1.0}/PKG-INFO +3 -2
- {onekit-3.1.0 → onekit-4.1.0}/README.md +1 -1
- {onekit-3.1.0 → onekit-4.1.0}/pyproject.toml +3 -2
- {onekit-3.1.0 → onekit-4.1.0}/src/onekit/exception.py +3 -4
- {onekit-3.1.0 → onekit-4.1.0}/src/onekit/pythonkit.py +3 -624
- onekit-4.1.0/src/onekit/timekit.py +848 -0
- {onekit-3.1.0 → onekit-4.1.0}/LICENSE +0 -0
- {onekit-3.1.0 → onekit-4.1.0}/src/onekit/__init__.py +0 -0
- {onekit-3.1.0 → onekit-4.1.0}/src/onekit/dekit.py +0 -0
- {onekit-3.1.0 → onekit-4.1.0}/src/onekit/mathkit.py +0 -0
- {onekit-3.1.0 → onekit-4.1.0}/src/onekit/numpykit.py +0 -0
- {onekit-3.1.0 → onekit-4.1.0}/src/onekit/optfunckit.py +0 -0
- {onekit-3.1.0 → onekit-4.1.0}/src/onekit/pandaskit.py +0 -0
- {onekit-3.1.0 → onekit-4.1.0}/src/onekit/scipykit.py +0 -0
- {onekit-3.1.0 → onekit-4.1.0}/src/onekit/sklearnkit.py +0 -0
- {onekit-3.1.0 → onekit-4.1.0}/src/onekit/sparkkit.py +0 -0
- {onekit-3.1.0 → onekit-4.1.0}/src/onekit/vizkit.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: onekit
|
|
3
|
-
Version:
|
|
3
|
+
Version: 4.1.0
|
|
4
4
|
Summary: All-in-One Python Kit.
|
|
5
5
|
License: BSD 3-Clause
|
|
6
6
|
Keywords: onekit
|
|
@@ -15,6 +15,7 @@ Provides-Extra: base
|
|
|
15
15
|
Provides-Extra: pyspark
|
|
16
16
|
Requires-Dist: pandas[compression,computation,excel,output-formatting,parquet,performance,plot] (>=2.2.3,<3.0.0) ; extra == "analytics"
|
|
17
17
|
Requires-Dist: pyspark (==3.5.3) ; extra == "pyspark"
|
|
18
|
+
Requires-Dist: python-dateutil (>=2.9.0.post0,<3.0.0) ; extra == "base"
|
|
18
19
|
Requires-Dist: pytz (>=2025.2,<2026.0) ; extra == "base"
|
|
19
20
|
Requires-Dist: scikit-learn (>=1.6.1,<2.0.0) ; extra == "analytics"
|
|
20
21
|
Requires-Dist: toolz (>=1.0.0,<2.0.0) ; extra == "base"
|
|
@@ -40,7 +41,7 @@ All-in-One Python Kit:
|
|
|
40
41
|
|
|
41
42
|
- [Examples](https://onekit.readthedocs.io/en/stable/examples.html)
|
|
42
43
|
- [Documentation](https://onekit.readthedocs.io/en/stable/index.html)
|
|
43
|
-
- [
|
|
44
|
+
- [Dev Guide](https://onekit.readthedocs.io/en/stable/devguide.html)
|
|
44
45
|
- [API Reference](https://onekit.readthedocs.io/en/stable/autoapi/index.html)
|
|
45
46
|
|
|
46
47
|
## Installation
|
|
@@ -17,7 +17,7 @@ All-in-One Python Kit:
|
|
|
17
17
|
|
|
18
18
|
- [Examples](https://onekit.readthedocs.io/en/stable/examples.html)
|
|
19
19
|
- [Documentation](https://onekit.readthedocs.io/en/stable/index.html)
|
|
20
|
-
- [
|
|
20
|
+
- [Dev Guide](https://onekit.readthedocs.io/en/stable/devguide.html)
|
|
21
21
|
- [API Reference](https://onekit.readthedocs.io/en/stable/autoapi/index.html)
|
|
22
22
|
|
|
23
23
|
## Installation
|
|
@@ -22,12 +22,13 @@ requires-python = ">=3.11"
|
|
|
22
22
|
dependencies = []
|
|
23
23
|
|
|
24
24
|
[tool.poetry]
|
|
25
|
-
version = "
|
|
25
|
+
version = "4.1.0"
|
|
26
26
|
|
|
27
27
|
[project.optional-dependencies]
|
|
28
28
|
base = [
|
|
29
|
-
"
|
|
29
|
+
"python-dateutil (>=2.9.0.post0,<3.0.0)",
|
|
30
30
|
"pytz (>=2025.2,<2026.0)",
|
|
31
|
+
"toolz (>=1.0.0,<2.0.0)",
|
|
31
32
|
]
|
|
32
33
|
analytics = [
|
|
33
34
|
"pandas[compression,computation,excel,output-formatting,parquet,performance,plot] (>=2.2.3,<3.0.0)",
|
|
@@ -4,8 +4,6 @@ from typing import (
|
|
|
4
4
|
Iterable,
|
|
5
5
|
)
|
|
6
6
|
|
|
7
|
-
from pyspark.sql import DataFrame as SparkDF
|
|
8
|
-
|
|
9
7
|
from onekit import pythonkit as pk
|
|
10
8
|
|
|
11
9
|
__all__ = (
|
|
@@ -96,6 +94,7 @@ class RowCountMismatchError(OnekitError):
|
|
|
96
94
|
super().__init__(self.message)
|
|
97
95
|
|
|
98
96
|
|
|
97
|
+
# noinspection PyUnresolvedReferences
|
|
99
98
|
class RowValueMismatchError(OnekitError):
|
|
100
99
|
"""Exception for mismatch of row values.
|
|
101
100
|
|
|
@@ -107,8 +106,8 @@ class RowValueMismatchError(OnekitError):
|
|
|
107
106
|
|
|
108
107
|
def __init__(
|
|
109
108
|
self,
|
|
110
|
-
lft_rows: SparkDF,
|
|
111
|
-
rgt_rows: SparkDF,
|
|
109
|
+
lft_rows: "SparkDF", # noqa: F821
|
|
110
|
+
rgt_rows: "SparkDF", # noqa: F821
|
|
112
111
|
num_lft: int,
|
|
113
112
|
num_rgt: int,
|
|
114
113
|
):
|