jetpytools 1.7.5__tar.gz → 1.7.6__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.

Potentially problematic release.


This version of jetpytools might be problematic. Click here for more details.

Files changed (34) hide show
  1. {jetpytools-1.7.5 → jetpytools-1.7.6}/PKG-INFO +1 -1
  2. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/_metadata.py +1 -1
  3. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/types/utils.py +11 -0
  4. {jetpytools-1.7.5 → jetpytools-1.7.6}/.gitignore +0 -0
  5. {jetpytools-1.7.5 → jetpytools-1.7.6}/LICENSE +0 -0
  6. {jetpytools-1.7.5 → jetpytools-1.7.6}/README.md +0 -0
  7. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/__init__.py +0 -0
  8. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/enums/__init__.py +0 -0
  9. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/enums/base.py +0 -0
  10. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/enums/other.py +0 -0
  11. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/exceptions/__init__.py +0 -0
  12. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/exceptions/base.py +0 -0
  13. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/exceptions/enum.py +0 -0
  14. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/exceptions/file.py +0 -0
  15. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/exceptions/generic.py +0 -0
  16. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/exceptions/module.py +0 -0
  17. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/functions/__init__.py +0 -0
  18. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/functions/funcs.py +0 -0
  19. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/functions/normalize.py +0 -0
  20. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/functions/other.py +0 -0
  21. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/py.typed +0 -0
  22. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/types/__init__.py +0 -0
  23. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/types/builtins.py +0 -0
  24. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/types/check.py +0 -0
  25. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/types/file.py +0 -0
  26. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/types/funcs.py +0 -0
  27. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/types/generic.py +0 -0
  28. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/types/supports.py +0 -0
  29. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/utils/__init__.py +0 -0
  30. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/utils/file.py +0 -0
  31. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/utils/funcs.py +0 -0
  32. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/utils/math.py +0 -0
  33. {jetpytools-1.7.5 → jetpytools-1.7.6}/jetpytools/utils/ranges.py +0 -0
  34. {jetpytools-1.7.5 → jetpytools-1.7.6}/pyproject.toml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jetpytools
3
- Version: 1.7.5
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,6 +1,6 @@
1
1
  """Collection of stuff that's useful in general python programming"""
2
2
 
3
- __version__ = "1.7.5"
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__
@@ -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
 
File without changes
File without changes
File without changes
File without changes