kaparoo-python 0.1.7__py3-none-any.whl → 0.1.9__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.
- kaparoo/__about__.py +1 -1
- kaparoo/filesystem/collections.py +5 -2
- {kaparoo_python-0.1.7.dist-info → kaparoo_python-0.1.9.dist-info}/METADATA +2 -2
- {kaparoo_python-0.1.7.dist-info → kaparoo_python-0.1.9.dist-info}/RECORD +6 -6
- {kaparoo_python-0.1.7.dist-info → kaparoo_python-0.1.9.dist-info}/WHEEL +0 -0
- {kaparoo_python-0.1.7.dist-info → kaparoo_python-0.1.9.dist-info}/licenses/LICENSE +0 -0
kaparoo/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.1.
|
|
1
|
+
__version__ = "0.1.9"
|
|
@@ -49,13 +49,16 @@ class DataSequence(Sequence[T_co]):
|
|
|
49
49
|
class DataFilesFolder(DataSequence[T_co]):
|
|
50
50
|
def __init__(self: Self, path: StrPath, *args: Any, **kwargs: Any) -> None:
|
|
51
51
|
self.path = ensure_dir_exists(path)
|
|
52
|
-
self.files = self.list_files()
|
|
52
|
+
self.files = self.list_files(self.path, *args, **kwargs)
|
|
53
53
|
|
|
54
54
|
def __len__(self: Self) -> int:
|
|
55
55
|
return len(self.files)
|
|
56
56
|
|
|
57
|
+
@classmethod
|
|
57
58
|
@abstractmethod
|
|
58
|
-
def list_files(
|
|
59
|
+
def list_files(
|
|
60
|
+
cls: type[Self], path: StrPath, *args: Any, **kwargs: Any
|
|
61
|
+
) -> StrPaths:
|
|
59
62
|
raise NotImplementedError
|
|
60
63
|
|
|
61
64
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: kaparoo-python
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.9
|
|
4
4
|
Summary: Personally common and useful Python features
|
|
5
5
|
Project-URL: GitHub, https://www.github.com/kaparoo/kaparoo-python
|
|
6
6
|
Author-email: Jaewoo Park <kaparoo2001@gmail.com>
|
|
@@ -41,7 +41,7 @@ Requires-Dist: hatch>=1.9.3; extra == 'dev'
|
|
|
41
41
|
Requires-Dist: mypy>=1.8.0; extra == 'dev'
|
|
42
42
|
Requires-Dist: pytest-order>=1.2.0; extra == 'dev'
|
|
43
43
|
Requires-Dist: pytest>=8.0.0; extra == 'dev'
|
|
44
|
-
Requires-Dist: ruff>=0.1
|
|
44
|
+
Requires-Dist: ruff>=0.2.1; extra == 'dev'
|
|
45
45
|
Description-Content-Type: text/markdown
|
|
46
46
|
|
|
47
47
|
# **kaparoo-python**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
kaparoo/__about__.py,sha256=
|
|
1
|
+
kaparoo/__about__.py,sha256=eV1qXt5ItBAELF1kU226t6-A_4Kn4s7Ddf8OiUuc04c,23
|
|
2
2
|
kaparoo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
kaparoo/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
kaparoo/filesystem/__init__.py,sha256=GYaV82lgd9T52hMtnaC-D4oCR625lEoUW-W0d7R3b_k,1110
|
|
5
|
-
kaparoo/filesystem/collections.py,sha256=
|
|
5
|
+
kaparoo/filesystem/collections.py,sha256=Cr1IVTsVqvnpYD1HIcRPIUtYOb9y1jDAvIcoI_BgWvg,2313
|
|
6
6
|
kaparoo/filesystem/directory.py,sha256=ZYYDKebQdCmGLLNKHiHpMJ4bSpn-YLyU412KuS9ThZI,13086
|
|
7
7
|
kaparoo/filesystem/exceptions.py,sha256=Bb9PnDMja24QfHIE2pKAfSqcdHInukgeTnGciM5xO7o,468
|
|
8
8
|
kaparoo/filesystem/existence.py,sha256=5_W4yDbd632HpG5kOPxwvQ01D50LNZmjmCis1JIsOxY,12391
|
|
@@ -11,7 +11,7 @@ kaparoo/filesystem/utils.py,sha256=a0qYVvRl17sPOVfq_wgjO86-8B4jB8sfj-rsSaQWTO8,4
|
|
|
11
11
|
kaparoo/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
12
|
kaparoo/utils/optional.py,sha256=Leb_8f5kSxRvBnEDrMfbXshJm1Bdc1lMH26xcqvUiaY,4772
|
|
13
13
|
kaparoo/utils/types.py,sha256=orqC307c1fCrhdCp4iY011P8yVoXexB2Fnmb29_pWXU,194
|
|
14
|
-
kaparoo_python-0.1.
|
|
15
|
-
kaparoo_python-0.1.
|
|
16
|
-
kaparoo_python-0.1.
|
|
17
|
-
kaparoo_python-0.1.
|
|
14
|
+
kaparoo_python-0.1.9.dist-info/METADATA,sha256=d1lrhVxKn9ylE2plwuF5cvsCUFRFBgzT26MtHBiMQok,3096
|
|
15
|
+
kaparoo_python-0.1.9.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
16
|
+
kaparoo_python-0.1.9.dist-info/licenses/LICENSE,sha256=_6aA_CoB_YWkSfqkGFxghm2GIsBRE2rp_g7vhz11DM8,1087
|
|
17
|
+
kaparoo_python-0.1.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|