kaparoo-python 0.1.7__py3-none-any.whl → 0.1.8__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 CHANGED
@@ -1 +1 @@
1
- __version__ = "0.1.7"
1
+ __version__ = "0.1.8"
@@ -49,13 +49,14 @@ 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(*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(self: Self) -> StrPaths:
59
+ def list_files(cls: type[Self], *args: Any, **kwargs: Any) -> StrPaths:
59
60
  raise NotImplementedError
60
61
 
61
62
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kaparoo-python
3
- Version: 0.1.7
3
+ Version: 0.1.8
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.15; extra == 'dev'
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=GhTYFGQ77wbJM35lScp2XZKYnkNHTrdYozPoCZiCVSM,23
1
+ kaparoo/__about__.py,sha256=0xngvyws52ELzKEHKt7iPFCbLG7K2r7U7qtbX9gCyQM,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=ftq6xkia4c_MoGAI_pG_rkhAdiGn7sPNd-Bp6E8wK_w,2206
5
+ kaparoo/filesystem/collections.py,sha256=SNIg0DcI0sQlDoGV_HtnXCFkQneMQT_Z4AKc7Vy9VLs,2271
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.7.dist-info/METADATA,sha256=sqo9SOR8iGjpTAZGTeo8uc-8OBwmxcEBFVM-TzGmx14,3097
15
- kaparoo_python-0.1.7.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
16
- kaparoo_python-0.1.7.dist-info/licenses/LICENSE,sha256=_6aA_CoB_YWkSfqkGFxghm2GIsBRE2rp_g7vhz11DM8,1087
17
- kaparoo_python-0.1.7.dist-info/RECORD,,
14
+ kaparoo_python-0.1.8.dist-info/METADATA,sha256=oih8mN5qg3u1-TokE7oUehSsSrJbNht5olSDTPnjWRg,3096
15
+ kaparoo_python-0.1.8.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
16
+ kaparoo_python-0.1.8.dist-info/licenses/LICENSE,sha256=_6aA_CoB_YWkSfqkGFxghm2GIsBRE2rp_g7vhz11DM8,1087
17
+ kaparoo_python-0.1.8.dist-info/RECORD,,