jetpytools 1.2.3__py3-none-any.whl → 1.2.4__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 CHANGED
@@ -1,6 +1,6 @@
1
1
  """Collection of stuff that's useful in general python programming"""
2
2
 
3
- __version__ = '1.2.3'
3
+ __version__ = '1.2.4'
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/funcs.py CHANGED
@@ -8,7 +8,8 @@ from .supports import SupportsString
8
8
 
9
9
  __all__ = [
10
10
  'StrList',
11
- 'Sentinel'
11
+ 'Sentinel',
12
+ 'SentinelT'
12
13
  ]
13
14
 
14
15
 
@@ -99,10 +100,9 @@ class SentinelDispatcher:
99
100
  def __call__(self) -> SentinelDispatcher:
100
101
  return SentinelDispatcher()
101
102
 
102
- Type: TypeAlias = 'SentinelDispatcher'
103
-
104
103
 
105
104
  Sentinel = SentinelDispatcher()
105
+ SentinelT: TypeAlias = SentinelDispatcher
106
106
 
107
107
  _sentinels = dict[str, SentinelDispatcher]()
108
108
 
jetpytools/types/utils.py CHANGED
@@ -145,7 +145,7 @@ class inject_self_base(Generic[T, P, R]):
145
145
  @wraps(self.function)
146
146
  def _wrapper(*args: Any, **kwargs: Any) -> Any:
147
147
  first_arg = (args[0] if args else None) or (
148
- kwargs.get(self.first_key, None) if self.first_key else None # type: ignore
148
+ kwargs.get(self.first_key, None) if self.first_key else None
149
149
  )
150
150
 
151
151
  if (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: jetpytools
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Summary: Collection of stuff that's useful in general python programming
5
5
  Author: Jaded Encoding Thaumaturgy
6
6
  Author-email: jaded.encoding.thaumaturgy@gmail.com
@@ -1,5 +1,5 @@
1
1
  jetpytools/__init__.py,sha256=FSVZdj69oy4mBXd6OXiRHrUhaSc4Exo1pQHBlXycV98,214
2
- jetpytools/_metadata.py,sha256=h_0Q6daDjew31Bh1Mlh32FVTx8Srl8nedCU6pABa66g,414
2
+ jetpytools/_metadata.py,sha256=KyShGM1FJXYnuI71xa3uQHkClIcN9L_Ht_OrceJ94yo,414
3
3
  jetpytools/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  jetpytools/enums/__init__.py,sha256=5n6Cu8Yb9N6hIa_YTsyy_s0cCgCnh0vDb-NyXK2RwV0,81
5
5
  jetpytools/enums/base.py,sha256=q0HUCl8NN66b4VXYNjP_AMrYqjlcLVlRs0GQHXt17zU,2083
@@ -17,17 +17,17 @@ jetpytools/functions/other.py,sha256=TRz91spvdYJUh9vKe3Kuw6xZfSEJvrQs1mZVg7SyYmY
17
17
  jetpytools/types/__init__.py,sha256=0veUJC8ioXsx1g3Nx-YQSKTnkenfyaD5y91qBDkyM8Q,253
18
18
  jetpytools/types/builtins.py,sha256=moET0CgjQnUkis2V1RViL53OMCVAIV4zBDcClsaKn5g,1807
19
19
  jetpytools/types/file.py,sha256=lUXszSZZbZHftCsDXbqoQumqUdZwGi3ocgW3p8tMJyE,6082
20
- jetpytools/types/funcs.py,sha256=MOA-BdxDbvCPvAReKvUM2P87KnmGnIDjkqSmYycJXUo,3114
20
+ jetpytools/types/funcs.py,sha256=epmw4EVmZph2hOso9WxE9SL5RWm9oYtHICkTGSwDyv0,3129
21
21
  jetpytools/types/generic.py,sha256=sAyBwGVG5FZ-6HVpfRuczov_6zQ_Uyoi0QWnR2iMm9Q,1128
22
22
  jetpytools/types/supports.py,sha256=--VZ-iCUiv-a6K8n-H8-6hSxHjrvdYg9mCLhr_lRplo,3051
23
- jetpytools/types/utils.py,sha256=tBHAlMADYB5CiGb1zeh1m_C4RK8_Zi8Pbd_dStsZjYM,22243
23
+ jetpytools/types/utils.py,sha256=Bi-AKe40IVxK-eSMZC1y_32w3XfeeGj-o4ZmwX3WXEI,22227
24
24
  jetpytools/utils/__init__.py,sha256=v5Bkl43-OBWlXx9OWpZoGH-QMaYNsPIi4vfuhC13ZLI,163
25
25
  jetpytools/utils/file.py,sha256=9GhMGJ5D7CpvUFnvnwPFMloYTeIX-AJ7aKYKdoJQ374,10455
26
26
  jetpytools/utils/funcs.py,sha256=ZuLz63kveBY1CLlBexEqmrQiGC67dY4gaXdNU3CeBMw,898
27
27
  jetpytools/utils/math.py,sha256=lNTriLtTXgqN82DVSXJ5KUbhsWgxXoJ5eNGIZ0-_r_c,3335
28
28
  jetpytools/utils/ranges.py,sha256=dL3WG235Pz9sk5su8A0VdwVf_oSt6obR7R_JNwLyCjQ,2572
29
- jetpytools-1.2.3.dist-info/LICENSE,sha256=l0PN-qDtXcgOB5aXP_nSUsvCK5V3o9pQCGsTzyZhKL0,1071
30
- jetpytools-1.2.3.dist-info/METADATA,sha256=ipieUMdlycXQ9NkzOWzLDB8QtnL5AExriLKaY0QP258,1399
31
- jetpytools-1.2.3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
32
- jetpytools-1.2.3.dist-info/top_level.txt,sha256=Iy4HjIta33ADJxN9Nyt5t5jRIfotEkZkQcOSw4eG8Cs,11
33
- jetpytools-1.2.3.dist-info/RECORD,,
29
+ jetpytools-1.2.4.dist-info/LICENSE,sha256=l0PN-qDtXcgOB5aXP_nSUsvCK5V3o9pQCGsTzyZhKL0,1071
30
+ jetpytools-1.2.4.dist-info/METADATA,sha256=IS8tQbjxVoGLJsMOlahg25HpgZLcsh_d7HucBrXAsqE,1399
31
+ jetpytools-1.2.4.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
32
+ jetpytools-1.2.4.dist-info/top_level.txt,sha256=Iy4HjIta33ADJxN9Nyt5t5jRIfotEkZkQcOSw4eG8Cs,11
33
+ jetpytools-1.2.4.dist-info/RECORD,,