onekit 1.5.0__tar.gz → 2.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.
@@ -1,6 +1,6 @@
1
1
  BSD 3-Clause License
2
2
 
3
- Copyright (c) 2024 Eugen Stripling
3
+ Copyright (c) 2023-2025 Eugen Stripling
4
4
  All rights reserved.
5
5
 
6
6
  Redistribution and use in source and binary forms, with or without
@@ -1,24 +1,23 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: onekit
3
- Version: 1.5.0
3
+ Version: 2.1.0
4
4
  Summary: All-in-One Python Kit.
5
- Home-page: https://github.com/estripling/onekit
6
5
  License: BSD 3-Clause
7
6
  Keywords: onekit
8
7
  Author: Eugen Stripling
9
8
  Author-email: estripling042@gmail.com
10
- Requires-Python: >=3.9
11
- Classifier: License :: Other/Proprietary License
12
- Classifier: Programming Language :: Python :: 3
13
- Classifier: Programming Language :: Python :: 3.9
14
- Classifier: Programming Language :: Python :: 3.10
9
+ Requires-Python: >=3.11
10
+ Classifier: Programming Language :: Python :: 3 :: Only
15
11
  Classifier: Programming Language :: Python :: 3.11
16
12
  Classifier: Programming Language :: Python :: 3.12
17
- Classifier: Programming Language :: Python :: 3 :: Only
18
- Requires-Dist: pytz (>=2024.1,<2025.0)
19
- Requires-Dist: toolz (>=0.12.0,<0.13.0)
20
- Project-URL: Documentation, https://onekit.readthedocs.io/en/stable/
21
- Project-URL: Repository, https://github.com/estripling/onekit
13
+ Provides-Extra: analytics
14
+ Provides-Extra: basic
15
+ Requires-Dist: pandas[compression,computation,excel,output-formatting,parquet,performance,plot] (>=2.2.3,<3.0.0) ; extra == "analytics"
16
+ Requires-Dist: pyspark (==3.5.3) ; extra == "analytics"
17
+ Requires-Dist: pytz (>=2025.2,<2026.0) ; extra == "basic"
18
+ Requires-Dist: scikit-learn (>=1.6.1,<2.0.0) ; extra == "analytics"
19
+ Requires-Dist: toolz (>=1.0.0,<2.0.0) ; extra == "basic"
20
+ Requires-Dist: tqdm (>=4.67.1,<5.0.0) ; extra == "analytics"
22
21
  Description-Content-Type: text/markdown
23
22
 
24
23
  <p align="center">
@@ -45,12 +44,18 @@ All-in-One Python Kit:
45
44
 
46
45
  ## Installation
47
46
 
48
- `onekit` is available on [PyPI](https://pypi.org/project/onekit/) for Python 3.9+:
47
+ `onekit` is available on [PyPI](https://pypi.org/project/onekit/) for Python 3.11+:
49
48
 
50
- ```console
49
+ ```shell
51
50
  pip install onekit
52
51
  ```
53
52
 
53
+ With optional dependencies:
54
+
55
+ ```shell
56
+ pip install onekit[basic,analytics]
57
+ ```
58
+
54
59
  ## Disclaimer
55
60
 
56
61
  ⚠️ This is a personal project: Use at your own risk!
@@ -22,12 +22,18 @@ All-in-One Python Kit:
22
22
 
23
23
  ## Installation
24
24
 
25
- `onekit` is available on [PyPI](https://pypi.org/project/onekit/) for Python 3.9+:
25
+ `onekit` is available on [PyPI](https://pypi.org/project/onekit/) for Python 3.11+:
26
26
 
27
- ```console
27
+ ```shell
28
28
  pip install onekit
29
29
  ```
30
30
 
31
+ With optional dependencies:
32
+
33
+ ```shell
34
+ pip install onekit[basic,analytics]
35
+ ```
36
+
31
37
  ## Disclaimer
32
38
 
33
39
  ⚠️ This is a personal project: Use at your own risk!
@@ -1,39 +1,52 @@
1
- [tool.poetry]
1
+ [project]
2
2
  name = "onekit"
3
- version = "1.5.0"
3
+ dynamic = ["version"]
4
4
  description = "All-in-One Python Kit."
5
- authors = ["Eugen Stripling <estripling042@gmail.com>"]
5
+ authors = [
6
+ { name = "Eugen Stripling", email = "estripling042@gmail.com" },
7
+ ]
6
8
  license = "BSD 3-Clause"
7
9
  readme = "README.md"
8
10
  repository = "https://github.com/estripling/onekit"
9
11
  documentation = "https://onekit.readthedocs.io/en/stable/"
10
12
  keywords = ["onekit"]
13
+ packages = [
14
+ { include = "onekit", from = "src" },
15
+ ]
11
16
  classifiers = [
12
17
  "Programming Language :: Python :: 3 :: Only",
13
- "Programming Language :: Python :: 3.9",
14
- "Programming Language :: Python :: 3.10",
15
18
  "Programming Language :: Python :: 3.11",
16
19
  "Programming Language :: Python :: 3.12",
17
20
  ]
21
+ requires-python = ">=3.11"
22
+ dependencies = []
18
23
 
19
- [tool.poetry.dependencies]
20
- python = ">=3.9"
21
- toolz = "^0.12.0"
22
- pytz = "^2024.1"
24
+ [tool.poetry]
25
+ version = "2.1.0"
23
26
 
24
- [tool.poetry.group.precommit.dependencies]
25
- autoflake = "^2.2.1"
26
- black = {extras = ["jupyter"], version = "^23.11.0"}
27
- isort = "^5.12.0"
28
- flake8 = ">=5.0.4"
29
- pre-commit = "^3.5.0"
30
- pre-commit-hooks = "^4.5.0"
27
+ [project.optional-dependencies]
28
+ basic = [
29
+ "toolz (>=1.0.0,<2.0.0)",
30
+ "pytz (>=2025.2,<2026.0)",
31
+ ]
32
+ analytics = [
33
+ "pandas[compression,computation,excel,output-formatting,parquet,performance,plot] (>=2.2.3,<3.0.0)",
34
+ "scikit-learn (>=1.6.1,<2.0.0)",
35
+ "tqdm (>=4.67.1,<5.0.0)",
36
+ "pyspark (==3.5.3)",
37
+ ]
31
38
 
32
- [tool.poetry.group.testing.dependencies]
33
- pytest = "^7.4.3"
34
- pytest-cov = "^4.1.0"
39
+ [tool.poetry.group.dev.dependencies]
40
+ autoflake = "^2.3.1"
41
+ black = {extras = ["jupyter"], version = "^25.1.0"}
42
+ isort = "^6.0.1"
43
+ flake8 = "^7.1.2"
44
+ pre-commit = "^4.2.0"
45
+ pre-commit-hooks = "^5.0.0"
46
+ pytest = "^8.3.5"
47
+ pytest-cov = "^6.0.0"
35
48
  pytest-skip-slow = "^0.0.5"
36
- time-machine = "^2.13.0"
49
+ time-machine = "^2.16.0"
37
50
 
38
51
  [tool.poetry.group.docs.dependencies]
39
52
  furo = "^2023.9.10"
@@ -42,25 +55,13 @@ myst-parser = "^2.0.0"
42
55
  nbsphinx = "^0.9.3"
43
56
  sphinx-autoapi = "^3.0.0"
44
57
  sphinx-copybutton = "^0.5.2"
58
+ time-machine = "^2.16.0"
45
59
 
46
60
  [tool.poetry.group.packaging.dependencies]
47
61
  python-semantic-release = "^8.3.0"
48
62
 
49
- [tool.poetry.group.pandaskit.dependencies]
50
- pandas = ">=0.23.2"
51
-
52
- [tool.poetry.group.sklearnkit.dependencies]
53
- scikit-learn = ">=1.3"
54
-
55
- [tool.poetry.group.sparkkit.dependencies]
56
- pyspark = "3.1.1"
57
-
58
- [tool.poetry.group.vizkit.dependencies]
59
- matplotlib = ">=3.7.1"
60
-
61
63
  [tool.black]
62
64
  line-length = 88
63
- target-version = ["py38"]
64
65
 
65
66
  [tool.isort]
66
67
  py_version = "auto"
@@ -1,6 +1,6 @@
1
1
  from importlib import metadata
2
2
 
3
- __version__ = metadata.version("onekit")
3
+ __version__ = metadata.version(__name__)
4
4
 
5
5
 
6
6
  del metadata