magnax 1.0.5__py3-none-any.whl → 1.0.7__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.
- magnax/__init__.py +1 -1
- magnax/public/apm.py +6 -6
- magnax/public/apm_pk.py +3 -3
- magnax/view/pages.py +2 -2
- magnax/web.py +4 -5
- {magnax-1.0.5.dist-info → magnax-1.0.7.dist-info}/METADATA +1 -1
- {magnax-1.0.5.dist-info → magnax-1.0.7.dist-info}/RECORD +11 -11
- {magnax-1.0.5.dist-info → magnax-1.0.7.dist-info}/WHEEL +0 -0
- {magnax-1.0.5.dist-info → magnax-1.0.7.dist-info}/entry_points.txt +0 -0
- {magnax-1.0.5.dist-info → magnax-1.0.7.dist-info}/licenses/LICENSE +0 -0
- {magnax-1.0.5.dist-info → magnax-1.0.7.dist-info}/top_level.txt +0 -0
magnax/__init__.py
CHANGED
magnax/public/apm.py
CHANGED
|
@@ -4,7 +4,7 @@ import time
|
|
|
4
4
|
import os
|
|
5
5
|
import json
|
|
6
6
|
import sys
|
|
7
|
-
from
|
|
7
|
+
from loguru import logger
|
|
8
8
|
from typing import Optional
|
|
9
9
|
|
|
10
10
|
# 使用 pymobiledevice3 进行设备控制
|
|
@@ -21,10 +21,10 @@ except ImportError:
|
|
|
21
21
|
RemoteServiceDiscoveryService = None
|
|
22
22
|
logger.warning("pymobiledevice3 not available, iOS features will be limited")
|
|
23
23
|
import multiprocessing
|
|
24
|
-
from
|
|
25
|
-
from
|
|
26
|
-
from
|
|
27
|
-
from
|
|
24
|
+
from magnax.public.ios_perf_adapter import PyiOSDeviceAdapter
|
|
25
|
+
from magnax.public.adb import adb
|
|
26
|
+
from magnax.public.common import Devices, File, Method, Platform, Scrcpy
|
|
27
|
+
from magnax.public.android_fps import FPSMonitor, TimeUtils
|
|
28
28
|
|
|
29
29
|
d = Devices()
|
|
30
30
|
f = File()
|
|
@@ -543,7 +543,7 @@ class FPS(object):
|
|
|
543
543
|
|
|
544
544
|
# 从持久化的监控器获取当前FPS数据
|
|
545
545
|
# 使用全局变量,这些变量由监控器实时更新
|
|
546
|
-
from
|
|
546
|
+
from magnax.public.android_fps import collect_fps, collect_jank
|
|
547
547
|
fps = collect_fps
|
|
548
548
|
jank = collect_jank
|
|
549
549
|
|
magnax/public/apm_pk.py
CHANGED
|
@@ -2,9 +2,9 @@ import datetime
|
|
|
2
2
|
import re
|
|
3
3
|
import os
|
|
4
4
|
import time
|
|
5
|
-
from
|
|
6
|
-
from
|
|
7
|
-
from
|
|
5
|
+
from magnax.public.adb import adb
|
|
6
|
+
from magnax.public.common import Devices, File
|
|
7
|
+
from magnax.public.android_fps import FPSMonitor, TimeUtils
|
|
8
8
|
|
|
9
9
|
d = Devices()
|
|
10
10
|
f = File()
|
magnax/view/pages.py
CHANGED
|
@@ -3,8 +3,8 @@ import os
|
|
|
3
3
|
from flask import Blueprint
|
|
4
4
|
from flask import render_template
|
|
5
5
|
from flask import request
|
|
6
|
-
from
|
|
7
|
-
from
|
|
6
|
+
from loguru import logger
|
|
7
|
+
from magnax.public.common import Devices, File, Method
|
|
8
8
|
|
|
9
9
|
page = Blueprint("page", __name__)
|
|
10
10
|
d = Devices()
|
magnax/web.py
CHANGED
|
@@ -11,14 +11,13 @@ import socket
|
|
|
11
11
|
import sys
|
|
12
12
|
import psutil
|
|
13
13
|
import atexit
|
|
14
|
-
from
|
|
14
|
+
from loguru import logger
|
|
15
15
|
from threading import Lock
|
|
16
|
-
from flask_socketio import SocketIO, disconnect
|
|
17
16
|
from flask import Flask
|
|
18
17
|
from pyfiglet import Figlet
|
|
19
|
-
from
|
|
20
|
-
from
|
|
21
|
-
from
|
|
18
|
+
from magnax.view.apis import api
|
|
19
|
+
from magnax.view.pages import page
|
|
20
|
+
from magnax import __version__
|
|
22
21
|
|
|
23
22
|
# Global reference to tunneld process
|
|
24
23
|
_tunneld_process = None
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
magnax/__init__.py,sha256=
|
|
1
|
+
magnax/__init__.py,sha256=vh9_wWJMeM3P1_hYFVMC-OmpTQOomXT7aCvrDo3R-T8,49
|
|
2
2
|
magnax/__main__.py,sha256=68w-kiT6T5K21OeMstIIjL1TnZAyH1POhuwA4deKXa0,553
|
|
3
3
|
magnax/debug.py,sha256=9qiGqFyLOMgoC8gAfsU8Id0dysp3aKzKPwemIg1cx8U,1877
|
|
4
|
-
magnax/web.py,sha256=
|
|
4
|
+
magnax/web.py,sha256=jQtIc5mXARzny2ncLo0d6yihBoMaezkYwtAFrGpLBow,10673
|
|
5
5
|
magnax/public/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
6
6
|
magnax/public/adb.py,sha256=71usHLFn9mlh7V-xgHHMyiTvGzeFJgcSE5ObkP_2LDk,2709
|
|
7
7
|
magnax/public/android_fps.py,sha256=2OA49N6TG10-MlBUQk68rX0nBxfUjpx1Uv_tcnuVATw,34547
|
|
8
|
-
magnax/public/apm.py,sha256=
|
|
9
|
-
magnax/public/apm_pk.py,sha256=
|
|
8
|
+
magnax/public/apm.py,sha256=y77rrtdNnSv8ZKChaQr-G6t7hsS3QDuLJJVQj47A2hM,55863
|
|
9
|
+
magnax/public/apm_pk.py,sha256=Hqzs76c8V-_1OcmubhW2Q6WcNmUALJb3SWN569-gW3c,8349
|
|
10
10
|
magnax/public/common.py,sha256=XrOQy-LbYS5YMlotIFnoquiEZpwBcCKUsijTmbGcv58,70361
|
|
11
11
|
magnax/public/config.json,sha256=rxCtmg1r3lNBQ8Y17tVTwJMyG-rIeKiSEjwz_qEAj0M,20
|
|
12
12
|
magnax/public/ios_perf_adapter.py,sha256=vO6m5H8zqh8qnRUgvkOnKIRGD2uQjJfR49O5wAGG29M,31949
|
|
@@ -78,10 +78,10 @@ magnax/templates/pk.html,sha256=PrOkJpwpi-fSCb67yAZHiE3UhGt12YqcxM-bQnEuZ7Y,5653
|
|
|
78
78
|
magnax/templates/report.html,sha256=ISMyWoD9G7Wk3pSy0veKLO-6w9ZaTG9XKnlnIo4Z2xU,36915
|
|
79
79
|
magnax/view/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
80
80
|
magnax/view/apis.py,sha256=hxHug7ffXkqYUsIzGs1HT2E-2yyfd8uvyH8F15mp6u4,41235
|
|
81
|
-
magnax/view/pages.py,sha256
|
|
82
|
-
magnax-1.0.
|
|
83
|
-
magnax-1.0.
|
|
84
|
-
magnax-1.0.
|
|
85
|
-
magnax-1.0.
|
|
86
|
-
magnax-1.0.
|
|
87
|
-
magnax-1.0.
|
|
81
|
+
magnax/view/pages.py,sha256=xG1aGdAGFyWvyR_ebV7UFqlimBc9jEt2aLQmwDoti1s,4899
|
|
82
|
+
magnax-1.0.7.dist-info/licenses/LICENSE,sha256=09YEeCofSxCb1Asz9e5gZrgIIQqhy0LrIBCpgvQbqqI,1090
|
|
83
|
+
magnax-1.0.7.dist-info/METADATA,sha256=VdvVFAeWdNz3FaHo9BWGy15QVjHFdA6qObQT7qsuutg,8859
|
|
84
|
+
magnax-1.0.7.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
85
|
+
magnax-1.0.7.dist-info/entry_points.txt,sha256=L3KQqjbXBQQldfi_ZN5Katb4JyXPSmHAmjkjbFWt4XY,48
|
|
86
|
+
magnax-1.0.7.dist-info/top_level.txt,sha256=45TCGtmk8yUZsPPXDk3AgiZgDTxv2E9YDv9CHIk7NmU,7
|
|
87
|
+
magnax-1.0.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|