ryry-cli 2.3__tar.gz → 2.4__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.
- {ryry_cli-2.3/ryry_cli.egg-info → ryry_cli-2.4}/PKG-INFO +1 -1
- ryry_cli-2.4/ryry/constant.py +5 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry/ryry_widget.py +1 -1
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry/utils.py +6 -1
- {ryry_cli-2.3 → ryry_cli-2.4/ryry_cli.egg-info}/PKG-INFO +1 -1
- {ryry_cli-2.3 → ryry_cli-2.4}/setup.py +2 -2
- ryry_cli-2.3/ryry/constant.py +0 -5
- {ryry_cli-2.3 → ryry_cli-2.4}/LICENSE +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/README.md +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry/__init__.py +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry/main.py +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry/ryry_server_socket.py +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry/ryry_service.py +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry/ryry_webapi.py +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry/script_template/__init__.py +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry/script_template/main.py +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry/script_template/run.py +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry/server_func.py +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry/store.py +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry/task.py +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry/taskUtils.py +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry/upload.py +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry_cli.egg-info/SOURCES.txt +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry_cli.egg-info/dependency_links.txt +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry_cli.egg-info/entry_points.txt +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry_cli.egg-info/requires.txt +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/ryry_cli.egg-info/top_level.txt +0 -0
- {ryry_cli-2.3 → ryry_cli-2.4}/setup.cfg +0 -0
|
@@ -134,11 +134,16 @@ def deviceInfo():
|
|
|
134
134
|
cpu_serial = "" if cpu_serial == None else cpu_serial
|
|
135
135
|
hostname = get_hostname()
|
|
136
136
|
M=1024*1024
|
|
137
|
+
cpu_freq = "None"
|
|
138
|
+
try:
|
|
139
|
+
cpu_freq = psutil.cpu_freq().max / 1000
|
|
140
|
+
except:
|
|
141
|
+
pass
|
|
137
142
|
data = {
|
|
138
143
|
"cpu": {
|
|
139
144
|
"logical_count" : psutil.cpu_count(),
|
|
140
145
|
"count" : psutil.cpu_count(logical=False),
|
|
141
|
-
"max_freq" : f"{
|
|
146
|
+
"max_freq" : f"{cpu_freq} GHz",
|
|
142
147
|
},
|
|
143
148
|
"memory": {
|
|
144
149
|
"total" : f"{psutil.virtual_memory().total/M} M",
|
|
@@ -3,7 +3,7 @@ import os
|
|
|
3
3
|
import subprocess
|
|
4
4
|
import datetime
|
|
5
5
|
|
|
6
|
-
ryry_version = "2.
|
|
6
|
+
ryry_version = "2.4"
|
|
7
7
|
ryry_build_number = int(ryry_version.replace(".",""))
|
|
8
8
|
cur_dir = os.path.dirname(os.path.abspath(__file__))
|
|
9
9
|
constanspy = os.path.join(cur_dir, "ryry", "constant.py")
|
|
@@ -24,7 +24,7 @@ app_name="ryry-cli"
|
|
|
24
24
|
except:
|
|
25
25
|
with open(constanspy, 'w') as f:
|
|
26
26
|
f.write(f'''#!!!!! do not change this file !!!!!
|
|
27
|
-
app_version="2.
|
|
27
|
+
app_version="2.4"
|
|
28
28
|
app_bulld_number=1
|
|
29
29
|
app_bulld_anchor=""
|
|
30
30
|
app_name="ryry-cli"
|
ryry_cli-2.3/ryry/constant.py
DELETED
|
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
|
|
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
|