reykit 1.1.87__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, report: bool = False) -> None:
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
- report : Whether report the creation process.
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(report)
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, report: bool = False) -> None:
1035
+ def make(self, echo: bool = False) -> None:
1036
1036
  """
1037
1037
  Create folders.
1038
1038
 
1039
1039
  Parameters
1040
1040
  ----------
1041
- report : Whether report the creation process.
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 report:
1055
+ if echo:
1056
1056
  print(text)
1057
1057
 
1058
1058
 
reykit/rschedule.py CHANGED
@@ -162,7 +162,7 @@ class Schedule(Base):
162
162
  with self.database.connect() as conn:
163
163
  conn = self.database.connect()
164
164
  conn.execute.insert(
165
- (self.db_names['base'], self.db_names['base.schedule']),
165
+ self.db_names['base.schedule'],
166
166
  data
167
167
  )
168
168
  id_ = conn.insert_id()
@@ -182,7 +182,7 @@ class Schedule(Base):
182
182
  'status': 2
183
183
  }
184
184
  self.database.execute.update(
185
- (self.db_names['base'], self.db_names['base.schedule']),
185
+ self.db_names['base.schedule'],
186
186
  data
187
187
  )
188
188
  raise
@@ -194,7 +194,7 @@ class Schedule(Base):
194
194
  'status': 1
195
195
  }
196
196
  self.database.execute.update(
197
- (self.db_names['base'], self.db_names['base.schedule']),
197
+ self.db_names['base.schedule'],
198
198
  data
199
199
  )
200
200
 
@@ -375,7 +375,7 @@ class Schedule(Base):
375
375
 
376
376
  def build_db(self) -> None:
377
377
  """
378
- Check and build all standard databases and tables, by `self.db_names`.
378
+ Check and build database tables, by `self.db_names`.
379
379
  """
380
380
 
381
381
  # Check.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reykit
3
- Version: 1.1.87
3
+ Version: 1.1.89
4
4
  Summary: Kit method set.
5
5
  Project-URL: homepage, https://github.com/reyxbo/reykit/
6
6
  Author-email: Rey <reyxbo@163.com>
@@ -8,10 +8,10 @@ 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=J6YxNbOceMhHwVKDugx5Wd-KFliRtlhFEVVcCAaE_So,47847
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
- reykit/rschedule.py,sha256=jy6hxaIugyjSpUdQhPgCuubAZmRzKxHu4Nz3xM8Gid8,14696
14
+ reykit/rschedule.py,sha256=y4piG8DT3TpE9jVI18UWvk-caXT7S409_vxetYOJ-jw,14603
15
15
  reykit/rstdout.py,sha256=yesWo7wIGablpyAu-2J2Gw11Qp3GdQjGICTyIcvLyt4,8200
16
16
  reykit/rsys.py,sha256=AP62KyN40flCeQJBclfJq8shachSAFT0LkVjiKsXkrw,24946
17
17
  reykit/rtable.py,sha256=UQ-JlwjssMR3gY1iY-VGQEKQ5_BZabpJy6TL7Fx19c4,12200
@@ -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.87.dist-info/METADATA,sha256=OUoXVFoHQkUt-zHsfdOnzWl6RYkflFuxuEqmZqunvE4,1872
26
- reykit-1.1.87.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
27
- reykit-1.1.87.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
28
- reykit-1.1.87.dist-info/RECORD,,
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,,