reykit 1.1.88__py3-none-any.whl → 1.1.89__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.
reykit/ros.py
CHANGED
@@ -148,20 +148,20 @@ def get_md5(data: str | bytes) -> str:
|
|
148
148
|
return md5
|
149
149
|
|
150
150
|
|
151
|
-
def make_dir(*paths: str,
|
151
|
+
def make_dir(*paths: str, echo: bool = False) -> None:
|
152
152
|
"""
|
153
153
|
Make directorys.
|
154
154
|
|
155
155
|
Parameters
|
156
156
|
----------
|
157
157
|
paths : Folder paths.
|
158
|
-
|
158
|
+
echo : Whether report the creation process.
|
159
159
|
"""
|
160
160
|
|
161
161
|
# Create.
|
162
162
|
for path in paths:
|
163
163
|
folder = Folder(path)
|
164
|
-
folder.make(
|
164
|
+
folder.make(echo)
|
165
165
|
|
166
166
|
|
167
167
|
def find_relpath(abspath: str, relpath: str) -> str:
|
@@ -1032,13 +1032,13 @@ class Folder(Base):
|
|
1032
1032
|
return path
|
1033
1033
|
|
1034
1034
|
|
1035
|
-
def make(self,
|
1035
|
+
def make(self, echo: bool = False) -> None:
|
1036
1036
|
"""
|
1037
1037
|
Create folders.
|
1038
1038
|
|
1039
1039
|
Parameters
|
1040
1040
|
----------
|
1041
|
-
|
1041
|
+
echo : Whether report the creation process.
|
1042
1042
|
"""
|
1043
1043
|
|
1044
1044
|
# Exist.
|
@@ -1052,7 +1052,7 @@ class Folder(Base):
|
|
1052
1052
|
text = 'Directory creation complete | %s' % self.path
|
1053
1053
|
|
1054
1054
|
# Report.
|
1055
|
-
if
|
1055
|
+
if echo:
|
1056
1056
|
print(text)
|
1057
1057
|
|
1058
1058
|
|
@@ -8,7 +8,7 @@ reykit/rlog.py,sha256=M4UgS2gxYJOWv66ItyOv7AUJHJc1CsSDVYr9J0y2MwU,25768
|
|
8
8
|
reykit/rmonkey.py,sha256=MJ_levUBl_oqkx8UoWbNwrRBGPWGwpfAh0B25tESFUk,7863
|
9
9
|
reykit/rnet.py,sha256=McW4fX-omkD4_2BpLISHt2hpwIxK7EfDA5c6j3gn3E4,16874
|
10
10
|
reykit/rnum.py,sha256=VKICD64mEfiStAGWaxg3kzQjf7TTqiSBNe9LCpM9MLo,3623
|
11
|
-
reykit/ros.py,sha256=
|
11
|
+
reykit/ros.py,sha256=5vSoxi02GUBltaDcXXg3hP7IF-l-kX45cI9XPE-EM3o,47835
|
12
12
|
reykit/rrand.py,sha256=fiwxyUMaLtFjPanVwTOiwvEEucmf0t2WiZF9ul9o6pU,8572
|
13
13
|
reykit/rre.py,sha256=1qva7xatKVE9qC2j7IujjXSM59qxHWwTYpiizFFQ8Xo,6024
|
14
14
|
reykit/rschedule.py,sha256=y4piG8DT3TpE9jVI18UWvk-caXT7S409_vxetYOJ-jw,14603
|
@@ -22,7 +22,7 @@ reykit/rwrap.py,sha256=G4TL2GWUaW9DrCFRcsnDE1CwgdWeP2PnjQckheRx4p0,15095
|
|
22
22
|
reykit/rzip.py,sha256=BGEONswuBZxQ-zcgd_xp2fcvYesC9AmKaaXWvnT3bTI,3456
|
23
23
|
reykit/rdll/__init__.py,sha256=nLSb8onBm2ilyoxzpDzUeGfSCKwkLEesIhzK3LiJ8mk,701
|
24
24
|
reykit/rdll/rdll_core.py,sha256=o6-rKcTQgxZQe0kD3GnwyNb3KL9IogzgCQNOmYLMm7A,5086
|
25
|
-
reykit-1.1.
|
26
|
-
reykit-1.1.
|
27
|
-
reykit-1.1.
|
28
|
-
reykit-1.1.
|
25
|
+
reykit-1.1.89.dist-info/METADATA,sha256=KGX9G_K8iir6I2XF7t1WPFw_lU10zJw3FDLe6XN6IdM,1872
|
26
|
+
reykit-1.1.89.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
27
|
+
reykit-1.1.89.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
|
28
|
+
reykit-1.1.89.dist-info/RECORD,,
|
File without changes
|
File without changes
|