ccfx 1.0.2__py3-none-any.whl → 1.0.3__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.
ccfx/ccfx.py CHANGED
@@ -238,7 +238,6 @@ def parseYoutubeChannelVideos(channelUrl: str, maxItems: Optional[int] = None) -
238
238
  return [f"https://www.youtube.com/watch?v={e['id']}" for e in entries if e.get("id")]
239
239
 
240
240
 
241
-
242
241
  def runSWATPlus(txtinoutDir: str, finalDir: str, executablePath: str = "swatplus", v: bool = True):
243
242
  os.chdir(txtinoutDir)
244
243
 
@@ -267,6 +266,7 @@ def runSWATPlus(txtinoutDir: str, finalDir: str, executablePath: str = "swatplus
267
266
  day_cycle = []
268
267
  previous_time = None
269
268
 
269
+ counter = 0
270
270
  while True:
271
271
  line = process.stdout.readline()
272
272
  line_parts = str(line).strip().split()
@@ -299,7 +299,7 @@ def runSWATPlus(txtinoutDir: str, finalDir: str, executablePath: str = "swatplus
299
299
  else:
300
300
  eta_str = ''
301
301
 
302
- showProgress(current, number_of_days, bar_length=20, message= f' >> current date: {day}/{month}/{year} - f{yr_to} {eta_str}')
302
+ showProgress(current, number_of_days, barLength=20, message= f' >> current date: {day}/{month}/{year} - f{yr_to} {eta_str}')
303
303
 
304
304
  previous_time = datetime.now()
305
305
  elif "ntdll.dll" in line_parts:
@@ -316,7 +316,6 @@ def runSWATPlus(txtinoutDir: str, finalDir: str, executablePath: str = "swatplus
316
316
  os.chdir(finalDir)
317
317
 
318
318
 
319
-
320
319
  def formatTimedelta(delta: timedelta) -> str:
321
320
  """Formats a timedelta duration to [N days] %H:%M:%S format"""
322
321
  seconds = int(delta.total_seconds())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ccfx
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: This package simplifies regular common actions for quick prototyping in a user friendly way
5
5
  Author-email: Celray James CHAWANDA <celray@chawanda.com>
6
6
  License-Expression: MIT
@@ -1,11 +1,11 @@
1
1
  ccfx/__init__.py,sha256=UK62VcGS84SJyGVg1bK4FltZj7OkpdoyhoFWeXcKsX0,144
2
- ccfx/ccfx.py,sha256=kBsVuHOZTR5J-upESSfo6Q9bYgeux6_jrbcXfcEyJvU,72663
2
+ ccfx/ccfx.py,sha256=roG19gMfyGf1CPPE2jm3Cfa1dijGIaPql7vAsnO-iTU,72679
3
3
  ccfx/excel.py,sha256=vm_cm4huKKx4_Nstr5neJzhBLmoZjg8qxjzz4hcF5hg,4754
4
4
  ccfx/mssqlConnection.py,sha256=C3HxzgZHmHy_de9EbMaXzR8NrkJxwHc8a00qzxQu_gs,8984
5
5
  ccfx/sqliteConnection.py,sha256=jEJ94D5ySt84N7AeDpa27Rclt1NaKhkX6nYzidwApIg,11104
6
6
  ccfx/word.py,sha256=AGa64jX5Zl5qotZh5L0QmrsjTnktIBhmj_ByRKZ88vw,3061
7
- ccfx-1.0.2.dist-info/licenses/LICENSE,sha256=EuxaawJg_OOCLfikkCGgfXPZmxR-x_5PH7_2e9M-3eA,1099
8
- ccfx-1.0.2.dist-info/METADATA,sha256=9NhF0qQsVrbyaIs65MQRc5G0Si1hzj4XFRHX-fOi9RA,11260
9
- ccfx-1.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
- ccfx-1.0.2.dist-info/top_level.txt,sha256=_cSvSA1WX2K8TgoV3iBJUdUZZqMKJbOPLNnKLYSLHaw,5
11
- ccfx-1.0.2.dist-info/RECORD,,
7
+ ccfx-1.0.3.dist-info/licenses/LICENSE,sha256=EuxaawJg_OOCLfikkCGgfXPZmxR-x_5PH7_2e9M-3eA,1099
8
+ ccfx-1.0.3.dist-info/METADATA,sha256=anoxt5-GzohmmAALixYHaETpoqDG1fI1aNqgoXZrb-M,11260
9
+ ccfx-1.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
+ ccfx-1.0.3.dist-info/top_level.txt,sha256=_cSvSA1WX2K8TgoV3iBJUdUZZqMKJbOPLNnKLYSLHaw,5
11
+ ccfx-1.0.3.dist-info/RECORD,,
File without changes