jetpytools 1.7.5__py3-none-any.whl → 1.7.6__py3-none-any.whl
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.
Potentially problematic release.
This version of jetpytools might be problematic. Click here for more details.
- jetpytools/_metadata.py +1 -1
- jetpytools/types/utils.py +11 -0
- {jetpytools-1.7.5.dist-info → jetpytools-1.7.6.dist-info}/METADATA +1 -1
- {jetpytools-1.7.5.dist-info → jetpytools-1.7.6.dist-info}/RECORD +6 -6
- {jetpytools-1.7.5.dist-info → jetpytools-1.7.6.dist-info}/WHEEL +0 -0
- {jetpytools-1.7.5.dist-info → jetpytools-1.7.6.dist-info}/licenses/LICENSE +0 -0
jetpytools/_metadata.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""Collection of stuff that's useful in general python programming"""
|
|
2
2
|
|
|
3
|
-
__version__ = "1.7.
|
|
3
|
+
__version__ = "1.7.6"
|
|
4
4
|
|
|
5
5
|
__author_name__, __author_email__ = "Jaded Encoding Thaumaturgy", "jaded.encoding.thaumaturgy@gmail.com"
|
|
6
6
|
__maintainer_name__, __maintainer_email__ = __author_name__, __author_email__
|
jetpytools/types/utils.py
CHANGED
|
@@ -5,6 +5,7 @@ from contextlib import suppress
|
|
|
5
5
|
from functools import wraps
|
|
6
6
|
from inspect import Signature
|
|
7
7
|
from inspect import _empty as empty_param
|
|
8
|
+
from types import LambdaType
|
|
8
9
|
from typing import (
|
|
9
10
|
TYPE_CHECKING,
|
|
10
11
|
Any,
|
|
@@ -561,6 +562,16 @@ class cachedproperty(property, Generic[R_co, _T_Any]):
|
|
|
561
562
|
|
|
562
563
|
if sys.version_info < (3, 13):
|
|
563
564
|
|
|
565
|
+
def __init__(
|
|
566
|
+
self,
|
|
567
|
+
fget: Callable[[Any], R_co],
|
|
568
|
+
fset: Callable[[Any, _T_Any], None] | None = None,
|
|
569
|
+
fdel: Callable[[Any], None] | None = None,
|
|
570
|
+
doc: str | None = None,
|
|
571
|
+
) -> None:
|
|
572
|
+
self.__name__ = fget.__name__ + f"_{id(fget)}" if isinstance(fget, LambdaType) else fget.__name__
|
|
573
|
+
super().__init__(fget, fset, fdel, doc)
|
|
574
|
+
|
|
564
575
|
def __set_name__(self, owner: object, name: str) -> None:
|
|
565
576
|
self.__name__ = name
|
|
566
577
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jetpytools
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.6
|
|
4
4
|
Summary: Collection of stuff that's useful in general python programming
|
|
5
5
|
Project-URL: Source Code, https://github.com/Jaded-Encoding-Thaumaturgy/jetpytools
|
|
6
6
|
Project-URL: Contact, https://discord.gg/XTpc6Fa9eB
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
jetpytools/__init__.py,sha256=ha_pCOMqfeIbipDRrtqKOqH3NQEpX4KwN2SskpsCGb4,114
|
|
2
|
-
jetpytools/_metadata.py,sha256=
|
|
2
|
+
jetpytools/_metadata.py,sha256=K0PMEtc-Q_1Z14fivf0-dGiTTMadzndaDFnrIT2WQuw,414
|
|
3
3
|
jetpytools/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
jetpytools/enums/__init__.py,sha256=TvEt3TWmnzf2TWS_Gd6llyyXAGDKxdhdJsDgSvT7xys,41
|
|
5
5
|
jetpytools/enums/base.py,sha256=s5A9iQS22JdaZMM6jEXI31m0ZjtBx7GLQ-E0xBr90Zc,2032
|
|
@@ -21,13 +21,13 @@ jetpytools/types/file.py,sha256=LbOwMAwDALWxAZZ2i7ZNexoN3GHWD-uUoIhVvUy95Vo,6539
|
|
|
21
21
|
jetpytools/types/funcs.py,sha256=U5tBmTtLS5CLp3ZtOiA5101PQiCWQOBsmf0bj1pRwgY,2778
|
|
22
22
|
jetpytools/types/generic.py,sha256=RRg2U7wxaM4Uzwc6QvsO99euCF3sqr8Kh34XKtVbgT8,1136
|
|
23
23
|
jetpytools/types/supports.py,sha256=woMTv62HpcRiC5TG18U8NU5v2Q6iqcrHzQgXl7QYEws,3516
|
|
24
|
-
jetpytools/types/utils.py,sha256=
|
|
24
|
+
jetpytools/types/utils.py,sha256=5z06L5QizhAb7BirtSOIYCUftpUZUIfphpsu4HbcAPk,23981
|
|
25
25
|
jetpytools/utils/__init__.py,sha256=_rJ-mY5PsGjBfy8Fihx_FYJfAIGSrYAYzI6Td9oFh9A,83
|
|
26
26
|
jetpytools/utils/file.py,sha256=3fJxAHjIN5zdyzO0guc3jDspcs5HPG4t4cwB_ZrAhh4,10622
|
|
27
27
|
jetpytools/utils/funcs.py,sha256=2qhFyLD0OLvenjzOu2wu1ZWoZGzQ8aPmvbkAI1i9Gvk,914
|
|
28
28
|
jetpytools/utils/math.py,sha256=I56OeHDDJl3X8EFXMWVEiXGAD16AKcn8KVnFuP5fFes,3445
|
|
29
29
|
jetpytools/utils/ranges.py,sha256=glxypgmuzauV6KCSNujNHOdWkNEUNylOUAPS618jnIg,2559
|
|
30
|
-
jetpytools-1.7.
|
|
31
|
-
jetpytools-1.7.
|
|
32
|
-
jetpytools-1.7.
|
|
33
|
-
jetpytools-1.7.
|
|
30
|
+
jetpytools-1.7.6.dist-info/METADATA,sha256=bETuPSUI_1yCqn1WC2Yj32Rmb6oq3fRvLtzE4N1u25o,1198
|
|
31
|
+
jetpytools-1.7.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
32
|
+
jetpytools-1.7.6.dist-info/licenses/LICENSE,sha256=l0PN-qDtXcgOB5aXP_nSUsvCK5V3o9pQCGsTzyZhKL0,1071
|
|
33
|
+
jetpytools-1.7.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|