jetpytools 1.2.4__tar.gz → 1.2.5__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 (37) hide show
  1. {jetpytools-1.2.4 → jetpytools-1.2.5}/PKG-INFO +1 -1
  2. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/_metadata.py +1 -1
  3. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/types/file.py +4 -0
  4. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools.egg-info/PKG-INFO +1 -1
  5. {jetpytools-1.2.4 → jetpytools-1.2.5}/LICENSE +0 -0
  6. {jetpytools-1.2.4 → jetpytools-1.2.5}/README.md +0 -0
  7. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/__init__.py +0 -0
  8. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/enums/__init__.py +0 -0
  9. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/enums/base.py +0 -0
  10. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/enums/other.py +0 -0
  11. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/exceptions/__init__.py +0 -0
  12. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/exceptions/base.py +0 -0
  13. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/exceptions/enum.py +0 -0
  14. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/exceptions/file.py +0 -0
  15. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/exceptions/generic.py +0 -0
  16. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/exceptions/module.py +0 -0
  17. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/functions/__init__.py +0 -0
  18. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/functions/funcs.py +0 -0
  19. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/functions/normalize.py +0 -0
  20. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/functions/other.py +0 -0
  21. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/py.typed +0 -0
  22. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/types/__init__.py +0 -0
  23. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/types/builtins.py +0 -0
  24. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/types/funcs.py +0 -0
  25. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/types/generic.py +0 -0
  26. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/types/supports.py +0 -0
  27. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/types/utils.py +0 -0
  28. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/utils/__init__.py +0 -0
  29. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/utils/file.py +0 -0
  30. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/utils/funcs.py +0 -0
  31. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/utils/math.py +0 -0
  32. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/utils/ranges.py +0 -0
  33. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools.egg-info/SOURCES.txt +0 -0
  34. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools.egg-info/dependency_links.txt +0 -0
  35. {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools.egg-info/top_level.txt +0 -0
  36. {jetpytools-1.2.4 → jetpytools-1.2.5}/setup.cfg +0 -0
  37. {jetpytools-1.2.4 → jetpytools-1.2.5}/setup.py +0 -0
@@ -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,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__
@@ -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
File without changes
File without changes
File without changes
File without changes