jetpytools 1.2.4__py3-none-any.whl → 1.2.5__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.4'
3
+ __version__ = '1.2.5'
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/file.py CHANGED
@@ -2,8 +2,10 @@ from __future__ import annotations
2
2
 
3
3
  import fnmatch
4
4
  import shutil
5
+
5
6
  from os import PathLike, listdir, path, walk
6
7
  from pathlib import Path
8
+ from sys import version_info
7
9
  from typing import TYPE_CHECKING, Any, Callable, Iterable, Literal, TypeAlias, Union
8
10
 
9
11
  __all__ = [
@@ -58,6 +60,8 @@ OpenBinaryMode: TypeAlias = OpenBinaryModeUpdating | OpenBinaryModeReading | Ope
58
60
 
59
61
  class SPath(Path):
60
62
  """Modified version of pathlib.Path"""
63
+ if version_info < (3, 12):
64
+ _flavour = type(Path())._flavour # type: ignore
61
65
 
62
66
  if TYPE_CHECKING:
63
67
  def __new__(cls, *args: SPathLike, **kwargs: Any) -> SPath:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: jetpytools
3
- Version: 1.2.4
3
+ Version: 1.2.5
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=KyShGM1FJXYnuI71xa3uQHkClIcN9L_Ht_OrceJ94yo,414
2
+ jetpytools/_metadata.py,sha256=EF2prSeiktlzSwZCzFXhHgnZPWOi41ij--oy_a9-7nk,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
@@ -16,7 +16,7 @@ jetpytools/functions/normalize.py,sha256=dyEuLVOZ2WSR_qDgyVGILn-0MURizCn5Nk1Kupp
16
16
  jetpytools/functions/other.py,sha256=TRz91spvdYJUh9vKe3Kuw6xZfSEJvrQs1mZVg7SyYmY,413
17
17
  jetpytools/types/__init__.py,sha256=0veUJC8ioXsx1g3Nx-YQSKTnkenfyaD5y91qBDkyM8Q,253
18
18
  jetpytools/types/builtins.py,sha256=moET0CgjQnUkis2V1RViL53OMCVAIV4zBDcClsaKn5g,1807
19
- jetpytools/types/file.py,sha256=lUXszSZZbZHftCsDXbqoQumqUdZwGi3ocgW3p8tMJyE,6082
19
+ jetpytools/types/file.py,sha256=H9EJlb6K0cC634GqoaPtUJ2WoAhtP4WwS37egS0S3Ss,6200
20
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
@@ -26,8 +26,8 @@ jetpytools/utils/file.py,sha256=9GhMGJ5D7CpvUFnvnwPFMloYTeIX-AJ7aKYKdoJQ374,1045
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.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,,
29
+ jetpytools-1.2.5.dist-info/LICENSE,sha256=l0PN-qDtXcgOB5aXP_nSUsvCK5V3o9pQCGsTzyZhKL0,1071
30
+ jetpytools-1.2.5.dist-info/METADATA,sha256=YfuNYSyncP1LrQ38qZNDP_d9qy9gyyqL2IzctrhxF5M,1399
31
+ jetpytools-1.2.5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
32
+ jetpytools-1.2.5.dist-info/top_level.txt,sha256=Iy4HjIta33ADJxN9Nyt5t5jRIfotEkZkQcOSw4eG8Cs,11
33
+ jetpytools-1.2.5.dist-info/RECORD,,