magnax 1.0.7__py3-none-any.whl → 1.0.8__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 CHANGED
@@ -1,3 +1,3 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
- __version__ = '1.0.7'
3
+ __version__ = '1.0.8'
@@ -22,6 +22,8 @@
22
22
  <link rel="stylesheet" href="./static/css/sweetalert2.min.css" />
23
23
  <!--highlight-->
24
24
  <link rel="stylesheet" href="./static/css/highlight.min.css">
25
+ <!-- MagnaX Dark Theme -->
26
+ <link rel="stylesheet" href="./static/css/magnax-dark-theme.css">
25
27
 
26
28
  {% block css %}
27
29
  {% endblock %}
magnax/web.py CHANGED
@@ -85,7 +85,7 @@ def listen(port):
85
85
  if conn:
86
86
  pid = conn[0].pid
87
87
  logger.warning('Port {} is used by process {}'.format(port, pid))
88
- logger.info('you can start solox : python -m solox --host={ip} --port={port}')
88
+ logger.info('you can start magnax : python -m magnax --host={ip} --port={port}')
89
89
  return False
90
90
  return True
91
91
 
@@ -98,9 +98,9 @@ def status(host: str, port: int):
98
98
  def open_url(host: str, port: int):
99
99
  flag = True
100
100
  while flag:
101
- logger.info('start solox service')
101
+ logger.info('start magnax service')
102
102
  f = Figlet(font="slant", width=300)
103
- print(f.renderText("SOLOX {}".format(__version__)))
103
+ print(f.renderText("MAGNAX {}".format(__version__)))
104
104
  flag = status(host, port)
105
105
  try:
106
106
  webbrowser.open('http://{}:{}/?platform=Android&lan=en'.format(host, port), new=2)
@@ -192,7 +192,7 @@ def _run_with_sudo_linux(cmd_args):
192
192
  try:
193
193
  # Try zenity (GNOME)
194
194
  result = subprocess.run(
195
- ['zenity', '--password', '--title=SoloX - iOS tunneld'],
195
+ ['zenity', '--password', '--title=MagnaX - iOS tunneld'],
196
196
  capture_output=True,
197
197
  text=True,
198
198
  timeout=60
@@ -338,7 +338,7 @@ def main(host=ip(), port=50003):
338
338
  pool.close()
339
339
  pool.join()
340
340
  except KeyboardInterrupt:
341
- logger.info('stop solox success')
341
+ logger.info('stop magnax success')
342
342
  sys.exit()
343
343
  except Exception as e:
344
344
  logger.exception(e)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: magnax
3
- Version: 1.0.7
3
+ Version: 1.0.8
4
4
  Summary: MagnaX - Real-time collection tool for Android/iOS performance data.
5
5
  Home-page: https://github.com/smart-test-ti/MagnaX
6
6
  Author: Rafa Chen
@@ -1,7 +1,7 @@
1
- magnax/__init__.py,sha256=vh9_wWJMeM3P1_hYFVMC-OmpTQOomXT7aCvrDo3R-T8,49
1
+ magnax/__init__.py,sha256=s-amh7cn2nsrg5V0DxZ4bF8UFkStEodQ9MmuHKYEYyQ,49
2
2
  magnax/__main__.py,sha256=68w-kiT6T5K21OeMstIIjL1TnZAyH1POhuwA4deKXa0,553
3
3
  magnax/debug.py,sha256=9qiGqFyLOMgoC8gAfsU8Id0dysp3aKzKPwemIg1cx8U,1877
4
- magnax/web.py,sha256=jQtIc5mXARzny2ncLo0d6yihBoMaezkYwtAFrGpLBow,10673
4
+ magnax/web.py,sha256=IQj24QNgJ7I2YbnU4yu8KGojJfHEYyygqf7ZFYIiL8M,10679
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
@@ -72,16 +72,16 @@ magnax/templates/404.html,sha256=aDPuisMTuUmS2HNstT04NtLNQmMpTCfublcBQFp4flY,776
72
72
  magnax/templates/analysis.html,sha256=ciy7iAvC8iOU0R4lqoRi8pnRVAF9Acx1Ht1NAU6mwig,101507
73
73
  magnax/templates/analysis_compare.html,sha256=zJ1kOOkxS6JmWf5W1DiJWH4UbzGe_6qs3HhZW6qxy1I,43224
74
74
  magnax/templates/analysis_pk.html,sha256=czi3D3Ep6ZJRFxP-SAecNJtAHYoLDTRv8ZoL6xjVX1g,38461
75
- magnax/templates/base.html,sha256=31CXOxK09qXvN5U0ZVi5Gy8c_jvb22pzm5i_jUd19vA,31559
75
+ magnax/templates/base.html,sha256=LhYbouAekXIpN3vm0OW_xDtpCGb3pSbBOY3n6E_AX5k,31660
76
76
  magnax/templates/index.html,sha256=YlMiz2JxluRwPgxpgAbAFRu7C_j4iveaOsD02zizbEs,163760
77
77
  magnax/templates/pk.html,sha256=PrOkJpwpi-fSCb67yAZHiE3UhGt12YqcxM-bQnEuZ7Y,56531
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
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,,
82
+ magnax-1.0.8.dist-info/licenses/LICENSE,sha256=09YEeCofSxCb1Asz9e5gZrgIIQqhy0LrIBCpgvQbqqI,1090
83
+ magnax-1.0.8.dist-info/METADATA,sha256=1itZJy5qW4yaFOFcnqD-U0CQyMbKyZSwo7LHJaP7-hk,8859
84
+ magnax-1.0.8.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
85
+ magnax-1.0.8.dist-info/entry_points.txt,sha256=L3KQqjbXBQQldfi_ZN5Katb4JyXPSmHAmjkjbFWt4XY,48
86
+ magnax-1.0.8.dist-info/top_level.txt,sha256=45TCGtmk8yUZsPPXDk3AgiZgDTxv2E9YDv9CHIk7NmU,7
87
+ magnax-1.0.8.dist-info/RECORD,,
File without changes