comb-utils 0.5.0__tar.gz → 0.5.2__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.
- {comb_utils-0.5.0/src/comb_utils.egg-info → comb_utils-0.5.2}/PKG-INFO +2 -2
- {comb_utils-0.5.0 → comb_utils-0.5.2}/setup.cfg +2 -2
- {comb_utils-0.5.0 → comb_utils-0.5.2}/src/comb_utils/lib/docs.py +4 -4
- {comb_utils-0.5.0 → comb_utils-0.5.2/src/comb_utils.egg-info}/PKG-INFO +2 -2
- {comb_utils-0.5.0 → comb_utils-0.5.2}/src/comb_utils.egg-info/requires.txt +1 -1
- {comb_utils-0.5.0 → comb_utils-0.5.2}/LICENSE +0 -0
- {comb_utils-0.5.0 → comb_utils-0.5.2}/README.md +0 -0
- {comb_utils-0.5.0 → comb_utils-0.5.2}/pyproject.toml +0 -0
- {comb_utils-0.5.0 → comb_utils-0.5.2}/src/comb_utils/__init__.py +0 -0
- {comb_utils-0.5.0 → comb_utils-0.5.2}/src/comb_utils/lib/__init__.py +0 -0
- {comb_utils-0.5.0 → comb_utils-0.5.2}/src/comb_utils/lib/api_callers.py +0 -0
- {comb_utils-0.5.0 → comb_utils-0.5.2}/src/comb_utils/lib/constants.py +0 -0
- {comb_utils-0.5.0 → comb_utils-0.5.2}/src/comb_utils/lib/errors.py +0 -0
- {comb_utils-0.5.0 → comb_utils-0.5.2}/src/comb_utils.egg-info/SOURCES.txt +0 -0
- {comb_utils-0.5.0 → comb_utils-0.5.2}/src/comb_utils.egg-info/dependency_links.txt +0 -0
- {comb_utils-0.5.0 → comb_utils-0.5.2}/src/comb_utils.egg-info/top_level.txt +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: comb_utils
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Handy utils for Python projects.
|
|
5
5
|
Author: Kaleb Coberly
|
|
6
6
|
Maintainer-email: kaleb.coberly@gmail.com
|
|
7
7
|
Requires-Python: >=3.12
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
9
|
License-File: LICENSE
|
|
10
|
-
Requires-Dist: typeguard
|
|
11
10
|
Requires-Dist: requests<3.0.0,>=2.32.3
|
|
11
|
+
Requires-Dist: typeguard<5.0.0,>=4.4.4
|
|
12
12
|
Provides-Extra: dev
|
|
13
13
|
Requires-Dist: comb_utils[build]; extra == "dev"
|
|
14
14
|
Requires-Dist: comb_utils[doc]; extra == "dev"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = comb_utils
|
|
3
|
-
version = 0.5.
|
|
3
|
+
version = 0.5.2
|
|
4
4
|
description = Handy utils for Python projects.
|
|
5
5
|
long_description = file: README.md
|
|
6
6
|
long_description_content_type = text/markdown
|
|
@@ -14,8 +14,8 @@ package_dir =
|
|
|
14
14
|
=src
|
|
15
15
|
packages = find:
|
|
16
16
|
install_requires =
|
|
17
|
-
typeguard
|
|
18
17
|
requests>=2.32.3,<3.0.0
|
|
18
|
+
typeguard>=4.4.4,<5.0.0
|
|
19
19
|
|
|
20
20
|
[options.packages.find]
|
|
21
21
|
where = src
|
|
@@ -34,32 +34,32 @@ class DocString:
|
|
|
34
34
|
Args:
|
|
35
35
|
opening: The opening docstring.
|
|
36
36
|
args: Argument names and their docstrings.
|
|
37
|
-
defaults: The parameter defaults.
|
|
38
37
|
raises: Objects holding error types with their docstrings.
|
|
39
38
|
returns: The returns docstrings.
|
|
39
|
+
defaults: The parameter defaults. ``None`` casts to empty ``dict``.
|
|
40
40
|
"""
|
|
41
41
|
|
|
42
42
|
opening: str = ""
|
|
43
43
|
args: dict[str, str] = {}
|
|
44
|
-
defaults: dict[str, Any] = {}
|
|
45
44
|
raises: list[ErrorDocString] = []
|
|
46
45
|
returns: list[str] = []
|
|
46
|
+
defaults: dict[str, Any] = {}
|
|
47
47
|
|
|
48
48
|
@typechecked
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
51
51
|
opening: str,
|
|
52
52
|
args: dict[str, str],
|
|
53
|
-
defaults: dict[str, Any],
|
|
54
53
|
raises: list[ErrorDocString],
|
|
55
54
|
returns: list[str],
|
|
55
|
+
defaults: dict[str, Any] | None = None,
|
|
56
56
|
) -> None:
|
|
57
57
|
"""Initialize the docstring parts."""
|
|
58
58
|
self.opening = opening
|
|
59
59
|
self.args = args
|
|
60
|
-
self.defaults = defaults
|
|
61
60
|
self.raises = raises
|
|
62
61
|
self.returns = returns
|
|
62
|
+
self.defaults = defaults if defaults is not None else {}
|
|
63
63
|
|
|
64
64
|
return
|
|
65
65
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: comb_utils
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Handy utils for Python projects.
|
|
5
5
|
Author: Kaleb Coberly
|
|
6
6
|
Maintainer-email: kaleb.coberly@gmail.com
|
|
7
7
|
Requires-Python: >=3.12
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
9
|
License-File: LICENSE
|
|
10
|
-
Requires-Dist: typeguard
|
|
11
10
|
Requires-Dist: requests<3.0.0,>=2.32.3
|
|
11
|
+
Requires-Dist: typeguard<5.0.0,>=4.4.4
|
|
12
12
|
Provides-Extra: dev
|
|
13
13
|
Requires-Dist: comb_utils[build]; extra == "dev"
|
|
14
14
|
Requires-Dist: comb_utils[doc]; extra == "dev"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|