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.
- {jetpytools-1.2.4 → jetpytools-1.2.5}/PKG-INFO +1 -1
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/_metadata.py +1 -1
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/types/file.py +4 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools.egg-info/PKG-INFO +1 -1
- {jetpytools-1.2.4 → jetpytools-1.2.5}/LICENSE +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/README.md +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/__init__.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/enums/__init__.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/enums/base.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/enums/other.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/exceptions/__init__.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/exceptions/base.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/exceptions/enum.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/exceptions/file.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/exceptions/generic.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/exceptions/module.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/functions/__init__.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/functions/funcs.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/functions/normalize.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/functions/other.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/py.typed +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/types/__init__.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/types/builtins.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/types/funcs.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/types/generic.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/types/supports.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/types/utils.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/utils/__init__.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/utils/file.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/utils/funcs.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/utils/math.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools/utils/ranges.py +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools.egg-info/SOURCES.txt +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools.egg-info/dependency_links.txt +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/jetpytools.egg-info/top_level.txt +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/setup.cfg +0 -0
- {jetpytools-1.2.4 → jetpytools-1.2.5}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""Collection of stuff that's useful in general python programming"""
|
|
2
2
|
|
|
3
|
-
__version__ = '1.2.
|
|
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:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|