py2ls 0.2.4.40__py3-none-any.whl → 0.2.4.41__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.
py2ls/ips.py CHANGED
@@ -3839,7 +3839,7 @@ def get_os(full=False, verbose=False):
3839
3839
  import sys
3840
3840
  import platform
3841
3841
  import psutil
3842
- import GPUtil
3842
+ # import GPUtil
3843
3843
  import socket
3844
3844
  import uuid
3845
3845
  import cpuinfo
@@ -4246,23 +4246,23 @@ def get_os(full=False, verbose=False):
4246
4246
  }
4247
4247
  )
4248
4248
 
4249
- # GPU Information
4250
- gpus = GPUtil.getGPUs()
4251
- for gpu in gpus:
4252
- gpu_info = {
4253
- "name": gpu.name,
4254
- "load (%)": gpu.load * 100,
4255
- "free memory (MB)": gpu.memoryFree,
4256
- "used memory (MB)": gpu.memoryUsed,
4257
- "total memory (MB)": gpu.memoryTotal,
4258
- "driver version": gpu.driver,
4259
- "temperature (°C)": gpu.temperature,
4260
- }
4261
- if hasattr(gpu, "powerDraw"):
4262
- gpu_info["Power Draw (W)"] = gpu.powerDraw
4263
- if hasattr(gpu, "powerLimit"):
4264
- gpu_info["Power Limit (W)"] = gpu.powerLimit
4265
- system_info["gpu"].append(gpu_info)
4249
+ # # GPU Information
4250
+ # gpus = GPUtil.getGPUs()
4251
+ # for gpu in gpus:
4252
+ # gpu_info = {
4253
+ # "name": gpu.name,
4254
+ # "load (%)": gpu.load * 100,
4255
+ # "free memory (MB)": gpu.memoryFree,
4256
+ # "used memory (MB)": gpu.memoryUsed,
4257
+ # "total memory (MB)": gpu.memoryTotal,
4258
+ # "driver version": gpu.driver,
4259
+ # "temperature (°C)": gpu.temperature,
4260
+ # }
4261
+ # if hasattr(gpu, "powerDraw"):
4262
+ # gpu_info["Power Draw (W)"] = gpu.powerDraw
4263
+ # if hasattr(gpu, "powerLimit"):
4264
+ # gpu_info["Power Limit (W)"] = gpu.powerLimit
4265
+ # system_info["gpu"].append(gpu_info)
4266
4266
 
4267
4267
  res = system_info if full else get_os_type()
4268
4268
  if verbose:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: py2ls
3
- Version: 0.2.4.40
3
+ Version: 0.2.4.41
4
4
  Summary: py(thon)2(too)ls
5
5
  Author: Jianfeng
6
6
  Author-email: Jianfeng.Liu0413@gmail.com
@@ -18,7 +18,6 @@ Provides-Extra: full
18
18
  Requires-Dist: CacheControl (>=0.13.1)
19
19
  Requires-Dist: Cython (>=3.0.10)
20
20
  Requires-Dist: Deprecated (>=1.2.14)
21
- Requires-Dist: GPUtil (>=1.4.0)
22
21
  Requires-Dist: Jinja2 (>=3.1.4)
23
22
  Requires-Dist: Markdown (>=3.6)
24
23
  Requires-Dist: MarkupSafe (>=2.1.5)
@@ -243,7 +243,7 @@ py2ls/export_requirements.py,sha256=x2WgUF0jYKz9GfA1MVKN-MdsM-oQ8yUeC6Ua8oCymio,
243
243
  py2ls/fetch_update.py,sha256=9LXj661GpCEFII2wx_99aINYctDiHni6DOruDs_fdt8,4752
244
244
  py2ls/freqanalysis.py,sha256=F4218VSPbgL5tnngh6xNCYuNnfR-F_QjECUUxrPYZss,32594
245
245
  py2ls/ich2ls.py,sha256=3E9R8oVpyYZXH5PiIQgT3CN5NxLe4Dwtm2LwaeacE6I,21381
246
- py2ls/ips.py,sha256=cC7kOZ-hpiMZ_iMwSMjq9fVFqOIqFASMQ8njv4atrxQ,427376
246
+ py2ls/ips.py,sha256=0TSkiUeDnskSJq_kFZcVqP7TC_OqKScibIYMV8CdK3I,427412
247
247
  py2ls/ml2ls.py,sha256=I-JFPdikgEtfQjhv5gBz-QSeorpTJI_Pda_JwkTioBY,209732
248
248
  py2ls/mol.py,sha256=AZnHzarIk_MjueKdChqn1V6e4tUle3X1NnHSFA6n3Nw,10645
249
249
  py2ls/netfinder.py,sha256=OhqD3S9PuwweL2013D-q4GNP1WvJjuYfZzq5BZgGddE,68980
@@ -255,6 +255,6 @@ py2ls/sleep_events_detectors.py,sha256=bQA3HJqv5qnYKJJEIhCyhlDtkXQfIzqksnD0YRXso
255
255
  py2ls/stats.py,sha256=qBn2rJmNa_QLLUqjwYqXUlGzqmW94sgA1bxJU2FC3r0,39175
256
256
  py2ls/translator.py,sha256=77Tp_GjmiiwFbEIJD_q3VYpQ43XL9ZeJo6Mhl44mvh8,34284
257
257
  py2ls/wb_detector.py,sha256=7y6TmBUj9exCZeIgBAJ_9hwuhkDh1x_-yg4dvNY1_GQ,6284
258
- py2ls-0.2.4.40.dist-info/METADATA,sha256=depWxTukM5uk2vttHEvLLPWoMXjGV9HZACinx_WHjOM,20473
259
- py2ls-0.2.4.40.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
260
- py2ls-0.2.4.40.dist-info/RECORD,,
258
+ py2ls-0.2.4.41.dist-info/METADATA,sha256=GUlpSQFP_zxyWdEtxXOhxeOMvcYGi5Vj9Ik4Py44O_A,20441
259
+ py2ls-0.2.4.41.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
260
+ py2ls-0.2.4.41.dist-info/RECORD,,