xtn-tools-pro 1.0.0.9.3__py3-none-any.whl → 1.0.0.9.4__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.
@@ -382,6 +382,22 @@ class GoFunTaskV3:
382
382
  self.logger.critical(f"download_queue 更新重试任务 {self.upload_queue, task_item} 报错 {e}")
383
383
  return False
384
384
 
385
+ def get_download_queue_size(self):
386
+ """
387
+ 获取 下载队列 大小
388
+ :return:
389
+ """
390
+ qsize = self.download_queue.qsize()
391
+ return qsize
392
+
393
+ def get_upload_queue_size(self):
394
+ """
395
+ 获取 回写队列 大小
396
+ :return:
397
+ """
398
+ qsize = self.upload_queue.qsize()
399
+ return qsize
400
+
385
401
  def help(self):
386
402
  help_txt = """
387
403
  参数说明:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xtn-tools-pro
3
- Version: 1.0.0.9.3
3
+ Version: 1.0.0.9.4
4
4
  Summary: xtn 开发工具
5
5
  Author: xtn
6
6
  Author-email: czw011122@gmail.com
@@ -51,7 +51,7 @@ xtn_tools_pro/task_pro/__init__.py,sha256=nK3U47hWwE1H875ieEToH9r-jzXHS-PXk8cDst
51
51
  xtn_tools_pro/task_pro/go_fun.py,sha256=hWEt2uJ9FCvJH7PhVZttS-11A7J6zbRKwX7c5YLYQag,19144
52
52
  xtn_tools_pro/task_pro/go_fun_air_v1.py,sha256=25gHmW5aAV6nMY9Y6-wD7uQ_wqE39dr-eaegqVbYKM8,11035
53
53
  xtn_tools_pro/task_pro/go_fun_v2.py,sha256=SgcXgtEBGSVL1V2LyqO0z8Md2H8JZxucYrLLIwqtiLM,18489
54
- xtn_tools_pro/task_pro/go_fun_v3.py,sha256=Gz4BK9b0KQq2ztgm81jaMInDf4sG9154zw8HRxPVIbY,18419
54
+ xtn_tools_pro/task_pro/go_fun_v3.py,sha256=GnwowamPTsuL-oSaXYqIkp-DBxFKV5-T1l0A6VZ_6kk,18801
55
55
  xtn_tools_pro/utils/__init__.py,sha256=I1_n_NP23F2lBqlF4EOlnOdLYxM8M4pbn63UhJN1hRE,418
56
56
  xtn_tools_pro/utils/crypto.py,sha256=YOdWB8yVauVEyT2d5i9M_bXUJVFTq4BQoUy2NLPhmts,4427
57
57
  xtn_tools_pro/utils/file_utils.py,sha256=obaBP7CaBCsXxzqGeWzV2l0yw7vicgKOaXzmpMV8ips,2567
@@ -61,9 +61,9 @@ xtn_tools_pro/utils/retry.py,sha256=0wjHsR5DBBKpv4naMfxiky8kprrZes4WURIfFQ4H708,
61
61
  xtn_tools_pro/utils/set_data.py,sha256=IthfAclck7AbaxOIKOgJZ2wdcfEmlvC-C63Tywcr4bA,11180
62
62
  xtn_tools_pro/utils/sql.py,sha256=EAKzbkZP7Q09j15Gm6o0_uq0qgQmcCQT6EAawbpp4v0,6263
63
63
  xtn_tools_pro/utils/time_utils.py,sha256=TUtzG61PeVYXhaQd6pBrXAdlz7tBispNIRQRcGhE2No,4859
64
- xtn_tools_pro-1.0.0.9.3.dist-info/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
65
- xtn_tools_pro-1.0.0.9.3.dist-info/METADATA,sha256=PNzGzPQXZ1wXfUf_3aenyIrzYhRWeANk1KTn7zgYXJ0,498
66
- xtn_tools_pro-1.0.0.9.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
67
- xtn_tools_pro-1.0.0.9.3.dist-info/entry_points.txt,sha256=t8CtXWOgw7nRDW3XNlZh8MT_P4l8EzsFnyWi5b3ovrc,68
68
- xtn_tools_pro-1.0.0.9.3.dist-info/top_level.txt,sha256=jyB3FLDEr8zE1U7wHczTgIbvUpALhR-ULF7RVEO7O2U,14
69
- xtn_tools_pro-1.0.0.9.3.dist-info/RECORD,,
64
+ xtn_tools_pro-1.0.0.9.4.dist-info/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
65
+ xtn_tools_pro-1.0.0.9.4.dist-info/METADATA,sha256=tNAR6D0-V5b-xI0ZAWYbGnJyV2iLyymTasbOdzHGap8,498
66
+ xtn_tools_pro-1.0.0.9.4.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
67
+ xtn_tools_pro-1.0.0.9.4.dist-info/entry_points.txt,sha256=t8CtXWOgw7nRDW3XNlZh8MT_P4l8EzsFnyWi5b3ovrc,68
68
+ xtn_tools_pro-1.0.0.9.4.dist-info/top_level.txt,sha256=jyB3FLDEr8zE1U7wHczTgIbvUpALhR-ULF7RVEO7O2U,14
69
+ xtn_tools_pro-1.0.0.9.4.dist-info/RECORD,,