ryry-cli 2.94__tar.gz → 2.95__tar.gz

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.
Files changed (27) hide show
  1. {ryry_cli-2.94 → ryry_cli-2.95}/PKG-INFO +1 -1
  2. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/constant.py +2 -2
  3. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/main.py +2 -2
  4. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/task.py +6 -0
  5. {ryry_cli-2.94 → ryry_cli-2.95}/ryry_cli.egg-info/PKG-INFO +1 -1
  6. {ryry_cli-2.94 → ryry_cli-2.95}/setup.py +1 -1
  7. {ryry_cli-2.94 → ryry_cli-2.95}/LICENSE +0 -0
  8. {ryry_cli-2.94 → ryry_cli-2.95}/README.md +0 -0
  9. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/__init__.py +0 -0
  10. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/ryry_server_socket.py +0 -0
  11. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/ryry_service.py +0 -0
  12. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/ryry_webapi.py +0 -0
  13. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/ryry_widget.py +0 -0
  14. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/script_template/__init__.py +0 -0
  15. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/script_template/main.py +0 -0
  16. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/script_template/run.py +0 -0
  17. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/server_func.py +0 -0
  18. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/store.py +0 -0
  19. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/taskUtils.py +0 -0
  20. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/upload.py +0 -0
  21. {ryry_cli-2.94 → ryry_cli-2.95}/ryry/utils.py +0 -0
  22. {ryry_cli-2.94 → ryry_cli-2.95}/ryry_cli.egg-info/SOURCES.txt +0 -0
  23. {ryry_cli-2.94 → ryry_cli-2.95}/ryry_cli.egg-info/dependency_links.txt +0 -0
  24. {ryry_cli-2.94 → ryry_cli-2.95}/ryry_cli.egg-info/entry_points.txt +0 -0
  25. {ryry_cli-2.94 → ryry_cli-2.95}/ryry_cli.egg-info/requires.txt +0 -0
  26. {ryry_cli-2.94 → ryry_cli-2.95}/ryry_cli.egg-info/top_level.txt +0 -0
  27. {ryry_cli-2.94 → ryry_cli-2.95}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ryry-cli
3
- Version: 2.94
3
+ Version: 2.95
4
4
  Summary: ryry tools
5
5
  Home-page: https://github.com/dalipenMedia
6
6
  Author: dalipen
@@ -1,6 +1,6 @@
1
1
  #!!!!! do not change this file !!!!!
2
- app_version="2.94"
3
- app_bulld_anchor="Noh_2025-03-10 19:34:06.015293"
2
+ app_version="2.95"
3
+ app_bulld_anchor="Noh_2025-03-11 16:13:17.594374"
4
4
  app_name="ryry-cli"
5
5
  import sys, os
6
6
  if getattr(sys, 'frozen', False):
@@ -95,9 +95,9 @@ def widget_status(stdscr, idx):
95
95
  end_args = ""
96
96
  if is_block:
97
97
  end_args = "[X]"
98
- real_stdsrc(idx, 0, scr_str(f'{f"[{name} {version}]{it}{end_args} @ {max_task_number} ".ljust(maxJust)}'.ljust(ll*3-2)))
98
+ real_stdsrc(idx, 0, scr_str(f'{f"[{name} {version}] {it}{end_args} @ {max_task_number} ".ljust(maxJust)}'.ljust(ll*3-2)))
99
99
  idx+=1
100
- real_stdsrc(idx, 0, scr_str(f' {path}'.ljust(ll*3-2)))
100
+ real_stdsrc(idx, 0, scr_str(f' {path}'.ljust(ll*3-2)))
101
101
  idx+=1
102
102
  real_stdsrc(idx, 0, scr_str(f' '.ljust(ll*3-2)))
103
103
  idx+=1
@@ -46,6 +46,12 @@ def cmdWithWidget(widget_id):
46
46
  return path
47
47
  return None
48
48
 
49
+ def maxTaskNumberWithWidget(widget_id):
50
+ map = store.widgetMap()
51
+ if widget_id in map:
52
+ return map[widget_id].get("max_task_number", 1)
53
+ return 100
54
+
49
55
  def cmdWithWidgetName(name):
50
56
  map = store.widgetMap()
51
57
  for widget_id in map.keys():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ryry-cli
3
- Version: 2.94
3
+ Version: 2.95
4
4
  Summary: ryry tools
5
5
  Home-page: https://github.com/dalipenMedia
6
6
  Author: dalipen
@@ -3,7 +3,7 @@ import os
3
3
  import subprocess
4
4
  import datetime
5
5
 
6
- ryry_version = "2.94"
6
+ ryry_version = "2.95"
7
7
  cur_dir = os.path.dirname(os.path.abspath(__file__))
8
8
  constanspy = os.path.join(cur_dir, "ryry", "constant.py")
9
9
  try:
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes