pyhw 0.14.1__py3-none-any.whl → 0.14.3__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.
- pyhw/__init__.py +1 -1
- pyhw/__main__.py +11 -1
- pyhw/backend/gpu/macos.py +34 -14
- pyhw/backend/nic/macos.py +174 -7
- pyhw/library/lib/iokitGPULib.dylib +0 -0
- pyhw/library/lib/iokitNICLib.dylib +0 -0
- pyhw/library/test/iokitGPULibTest.py +17 -0
- pyhw/library/test/iokitNICLibTest.py +76 -0
- {pyhw-0.14.1.dist-info → pyhw-0.14.3.dist-info}/METADATA +1 -1
- {pyhw-0.14.1.dist-info → pyhw-0.14.3.dist-info}/RECORD +14 -11
- {pyhw-0.14.1.dist-info → pyhw-0.14.3.dist-info}/WHEEL +0 -0
- {pyhw-0.14.1.dist-info → pyhw-0.14.3.dist-info}/entry_points.txt +0 -0
- {pyhw-0.14.1.dist-info → pyhw-0.14.3.dist-info}/licenses/LICENSE +0 -0
- {pyhw-0.14.1.dist-info → pyhw-0.14.3.dist-info}/top_level.txt +0 -0
pyhw/__init__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
__version__ = '0.14.
|
1
|
+
__version__ = '0.14.3'
|
2
2
|
__author__ = 'xiaoran007'
|
pyhw/__main__.py
CHANGED
@@ -154,13 +154,21 @@ def main():
|
|
154
154
|
multiprocessing.Process(target=detect_os, args=(debug_info, current_os, result_dict)),
|
155
155
|
multiprocessing.Process(target=detect_cpu, args=(debug_info, current_os, result_dict)),
|
156
156
|
multiprocessing.Process(target=detect_memory, args=(debug_info, current_os, result_dict)),
|
157
|
-
multiprocessing.Process(target=detect_pci_related, args=(debug_info, current_os, result_dict)),
|
158
157
|
]
|
159
158
|
|
159
|
+
if current_os == "macos":
|
160
|
+
processes.append(multiprocessing.Process(target=detect_gpu, args=(debug_info, current_os, result_dict)))
|
161
|
+
processes.append(multiprocessing.Process(target=detect_nic, args=(debug_info, current_os, result_dict)))
|
162
|
+
processes.append(multiprocessing.Process(target=detect_npu, args=(debug_info, current_os, result_dict)))
|
163
|
+
else:
|
164
|
+
multiprocessing.Process(target=detect_pci_related, args=(debug_info, current_os, result_dict)),
|
165
|
+
|
160
166
|
start_time = time.time()
|
161
167
|
for process in processes:
|
162
168
|
process.start()
|
163
169
|
|
170
|
+
detection_time = time.time() - start_time
|
171
|
+
|
164
172
|
for process in processes[1:]:
|
165
173
|
process.join()
|
166
174
|
|
@@ -179,6 +187,8 @@ def main():
|
|
179
187
|
for func_name, elapsed in debug_dict.items():
|
180
188
|
detection_name = func_name.replace("detect_", "")
|
181
189
|
print(f"{detection_name:<10}: {elapsed:.4f} s")
|
190
|
+
print("-" * 50)
|
191
|
+
print(f"Total create time: {detection_time:.4f} s")
|
182
192
|
print("-"*50)
|
183
193
|
print(f"Total execution time: {total_time:.4f} s")
|
184
194
|
print("="*50)
|
pyhw/backend/gpu/macos.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
from .gpuInfo import GPUInfo
|
2
2
|
from ...pyhwUtil import getArch
|
3
|
+
from ..cpu import CPUDetect
|
3
4
|
import json
|
4
5
|
import subprocess
|
5
6
|
import ctypes
|
@@ -19,22 +20,25 @@ class GPUDetectMacOS:
|
|
19
20
|
return self.__gpuInfo
|
20
21
|
|
21
22
|
def __getGPUAppleSilicon(self):
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
23
|
+
if self.__getGPUIOKitAppleSilicon():
|
24
|
+
pass
|
25
|
+
else:
|
26
|
+
gpus = list()
|
27
|
+
try:
|
28
|
+
gpu_info_dict = json.loads(subprocess.check_output(["system_profiler", "SPDisplaysDataType", "-json"]))
|
29
|
+
if 'SPDisplaysDataType' in gpu_info_dict:
|
30
|
+
gpus = gpu_info_dict['SPDisplaysDataType']
|
31
|
+
self.__gpuInfo.number = len(gpus)
|
32
|
+
else:
|
33
|
+
pass
|
34
|
+
except Exception:
|
35
|
+
return
|
32
36
|
|
33
|
-
|
34
|
-
|
37
|
+
for gpu in gpus:
|
38
|
+
self.__gpuInfo.gpus.append(f'{gpu.get("sppci_model")} ({gpu.get("sppci_cores")} Cores) [SOC Integrated]')
|
35
39
|
|
36
40
|
def __getGPUIntel(self):
|
37
|
-
if self.
|
41
|
+
if self.__getGPUIOKitIntel():
|
38
42
|
pass
|
39
43
|
else: # fallback to the default implementation
|
40
44
|
gpus = list()
|
@@ -56,7 +60,7 @@ class GPUDetectMacOS:
|
|
56
60
|
elif self.__handleVendor(gpu.get("spdisplays_vendor")) == "Nvidia": # Since current macOS does not support NVIDIA GPUs, this condition is not applicable
|
57
61
|
pass
|
58
62
|
|
59
|
-
def
|
63
|
+
def __getGPUIOKitIntel(self):
|
60
64
|
try:
|
61
65
|
package_root = Path(__file__).resolve().parent.parent.parent
|
62
66
|
lib = ctypes.CDLL(f"{package_root}/library/lib/iokitGPULib.dylib")
|
@@ -82,6 +86,22 @@ class GPUDetectMacOS:
|
|
82
86
|
# print(f"An error occurred while getting GPU info using IOKit: {e}")
|
83
87
|
return False
|
84
88
|
|
89
|
+
def __getGPUIOKitAppleSilicon(self):
|
90
|
+
try:
|
91
|
+
package_root = Path(__file__).resolve().parent.parent.parent
|
92
|
+
lib = ctypes.CDLL(f"{package_root}/library/lib/iokitGPULib.dylib")
|
93
|
+
lib.getAppleSiliconGPUInfo.restype = ctypes.c_char_p
|
94
|
+
gpu_cores = lib.getAppleSiliconGPUInfo().decode('utf-8')
|
95
|
+
|
96
|
+
if gpu_cores == "0":
|
97
|
+
return False
|
98
|
+
self.__gpuInfo.number = 1
|
99
|
+
self.__gpuInfo.gpus.append(f'{CPUDetect(os="macos").getCPUInfo().model} ({gpu_cores} Cores) [SOC Integrated]')
|
100
|
+
return True
|
101
|
+
except Exception as e:
|
102
|
+
# print(f"An error occurred while getting GPU info using IOKit: {e}")
|
103
|
+
return False
|
104
|
+
|
85
105
|
@staticmethod
|
86
106
|
def __handleVendor(vendor):
|
87
107
|
if vendor == "sppci_vendor_Apple":
|
pyhw/backend/nic/macos.py
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
from .nicInfo import NICInfo
|
2
2
|
import subprocess
|
3
|
+
import ctypes
|
4
|
+
from ctypes import c_char_p, c_bool, c_int32, c_char, byref, create_string_buffer
|
5
|
+
from pathlib import Path
|
3
6
|
|
4
7
|
|
5
8
|
class NICDetectMacOS:
|
@@ -11,15 +14,179 @@ class NICDetectMacOS:
|
|
11
14
|
return self.__nicInfo
|
12
15
|
|
13
16
|
def __getNICInfo(self):
|
14
|
-
#
|
17
|
+
# Try to get NIC info using IOKit first
|
18
|
+
if not self.__getNICInfoIOKit():
|
19
|
+
try:
|
20
|
+
# Get default interface
|
21
|
+
cmd_get_interface = "route get default | grep interface"
|
22
|
+
interface_output = subprocess.run(["bash", "-c", cmd_get_interface],
|
23
|
+
capture_output=True, text=True).stdout.strip()
|
24
|
+
interface = interface_output.split(":")[1].strip()
|
25
|
+
|
26
|
+
# Get IP address
|
27
|
+
if_ip = subprocess.run(["bash", "-c", f"ipconfig getifaddr {interface}"],
|
28
|
+
capture_output=True, text=True).stdout.strip()
|
29
|
+
|
30
|
+
# Get interface type and link speed
|
31
|
+
link_info = self.__getLinkInfo(interface)
|
32
|
+
|
33
|
+
# Add all information to nicInfo
|
34
|
+
self.__nicInfo.nics.append(f"{interface} @ {if_ip} - {link_info}")
|
35
|
+
self.__nicInfo.number += 1
|
36
|
+
except Exception as e:
|
37
|
+
self.__handleError()
|
38
|
+
else:
|
39
|
+
pass
|
40
|
+
|
41
|
+
def __getNICInfoIOKit(self):
|
42
|
+
try:
|
43
|
+
package_root = Path(__file__).resolve().parent.parent.parent
|
44
|
+
lib = ctypes.CDLL(f"{package_root}/library/lib/iokitNICLib.dylib")
|
45
|
+
|
46
|
+
lib.getDefaultInterface.argtypes = [c_char_p]
|
47
|
+
lib.getDefaultInterface.restype = c_bool
|
48
|
+
|
49
|
+
lib.getNetworkInfo.argtypes = [c_char_p, ctypes.POINTER(c_bool),
|
50
|
+
c_char_p, ctypes.POINTER(c_int32),
|
51
|
+
c_char_p, c_char_p, c_char_p, c_char_p]
|
52
|
+
lib.getNetworkInfo.restype = c_bool
|
53
|
+
interface = create_string_buffer(32)
|
54
|
+
if lib.getDefaultInterface(interface):
|
55
|
+
interface_str = interface.value.decode('utf-8')
|
56
|
+
|
57
|
+
is_wifi = c_bool(False)
|
58
|
+
ip_address = create_string_buffer(32)
|
59
|
+
speed = c_int32(0)
|
60
|
+
band = create_string_buffer(16)
|
61
|
+
channel = create_string_buffer(32)
|
62
|
+
conn_type = create_string_buffer(32)
|
63
|
+
wifi_standard = create_string_buffer(16)
|
64
|
+
|
65
|
+
if lib.getNetworkInfo(interface_str.encode('utf-8'),
|
66
|
+
byref(is_wifi),
|
67
|
+
ip_address,
|
68
|
+
byref(speed),
|
69
|
+
band,
|
70
|
+
channel,
|
71
|
+
conn_type,
|
72
|
+
wifi_standard):
|
73
|
+
|
74
|
+
if is_wifi.value:
|
75
|
+
conn_info = f"{conn_type.value.decode('utf-8')} 802.11{wifi_standard.value.decode('utf-8')} ({band.value.decode('utf-8')} {speed.value} Mbps)"
|
76
|
+
else:
|
77
|
+
conn_info = conn_type.value.decode('utf-8')
|
78
|
+
|
79
|
+
formatted_output = f"{interface_str} @ {ip_address.value.decode('utf-8')} - {conn_info}"
|
80
|
+
|
81
|
+
self.__nicInfo.nics.append(formatted_output)
|
82
|
+
self.__nicInfo.number += 1
|
83
|
+
|
84
|
+
return True
|
85
|
+
|
86
|
+
else:
|
87
|
+
return False
|
88
|
+
else:
|
89
|
+
return False
|
90
|
+
|
91
|
+
except Exception as e:
|
92
|
+
# print(f"An error occurred while getting NIC info using IOKit: {e}")
|
93
|
+
return False
|
94
|
+
|
95
|
+
|
96
|
+
def __getLinkInfo(self, interface):
|
15
97
|
try:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
98
|
+
# Check if interface is wireless
|
99
|
+
is_wifi_cmd = f"networksetup -getairportpower {interface} 2>/dev/null"
|
100
|
+
is_wifi_result = subprocess.run(["bash", "-c", is_wifi_cmd],
|
101
|
+
capture_output=True, text=True).returncode
|
102
|
+
|
103
|
+
if is_wifi_result == 0: # This is a Wi-Fi interface
|
104
|
+
speed, channel, band = self.__getWifiInfo(interface)
|
105
|
+
return f"Wi-Fi {band} ({speed} Mbps)"
|
106
|
+
else:
|
107
|
+
# For wired connections, get link speed using networksetup
|
108
|
+
media_cmd = f"networksetup -getmedia {interface} | grep 'Active'"
|
109
|
+
media_info = subprocess.run(["bash", "-c", media_cmd],
|
110
|
+
capture_output=True, text=True).stdout.strip()
|
111
|
+
|
112
|
+
if media_info:
|
113
|
+
parts = media_info.split(':', 1)
|
114
|
+
if len(parts) > 1:
|
115
|
+
# Extract "2500Base-T <full-duplex>" part
|
116
|
+
media_details = parts[1].strip()
|
117
|
+
|
118
|
+
# Parse the speed part (e.g., "2500Base-T")
|
119
|
+
speed_part = media_details.split()[0] if media_details else ""
|
120
|
+
|
121
|
+
if "2500Base-T" in speed_part:
|
122
|
+
return "Wired (2.5 Gbps)"
|
123
|
+
elif "1000Base-T" in speed_part:
|
124
|
+
return "Wired (1 Gbps)"
|
125
|
+
elif "100Base-T" in speed_part:
|
126
|
+
return "Wired (100 Mbps)"
|
127
|
+
elif "10000Base-T" in speed_part:
|
128
|
+
return "Wired (10 Gbps)"
|
129
|
+
elif "Base-T" in speed_part or "base-T" in speed_part:
|
130
|
+
# Extract the numeric part from formats like "5000Base-T"
|
131
|
+
import re
|
132
|
+
speed_match = re.search(r'(\d+)(?:Base-T|base-T)', speed_part)
|
133
|
+
if speed_match:
|
134
|
+
speed_value = int(speed_match.group(1))
|
135
|
+
if speed_value >= 1000:
|
136
|
+
return f"Wired ({speed_value / 1000:.1f} Gbps)"
|
137
|
+
else:
|
138
|
+
return f"Wired ({speed_value} Mbps)"
|
139
|
+
return f"Wired ({speed_part})"
|
20
140
|
except:
|
21
|
-
|
141
|
+
return "Unknown connection type"
|
142
|
+
|
143
|
+
def __getWifiInfo(self, interface):
|
144
|
+
# 使用 system_profiler 获取 WiFi 信息
|
145
|
+
profiler_cmd = f"system_profiler SPAirPortDataType -json"
|
146
|
+
try:
|
147
|
+
wifi_data = subprocess.run(["bash", "-c", profiler_cmd],
|
148
|
+
capture_output=True, text=True, timeout=5).stdout
|
149
|
+
|
150
|
+
import json
|
151
|
+
data = json.loads(wifi_data)
|
152
|
+
|
153
|
+
# 根据实际 JSON 结构提取信息
|
154
|
+
if 'SPAirPortDataType' in data and isinstance(data['SPAirPortDataType'], list):
|
155
|
+
airport_data = data['SPAirPortDataType'][0]
|
156
|
+
|
157
|
+
# 获取接口列表
|
158
|
+
if 'spairport_airport_interfaces' in airport_data:
|
159
|
+
interfaces = airport_data['spairport_airport_interfaces']
|
160
|
+
|
161
|
+
# 查找匹配的接口
|
162
|
+
for iface in interfaces:
|
163
|
+
if interface == iface.get('_name', ''):
|
164
|
+
# 获取当前网络信息
|
165
|
+
current_network = iface.get('spairport_current_network_information', {})
|
166
|
+
|
167
|
+
# 从当前连接中提取速率
|
168
|
+
speed = current_network.get('spairport_network_rate', 'Unknown')
|
169
|
+
|
170
|
+
# 获取信道信息
|
171
|
+
channel_info = current_network.get('spairport_network_channel', 'Unknown')
|
172
|
+
|
173
|
+
# 确定频段信息
|
174
|
+
band = "Unknown"
|
175
|
+
if isinstance(channel_info, str) and "GHz" in channel_info:
|
176
|
+
if "2GHz" in channel_info:
|
177
|
+
band = "2.4GHz"
|
178
|
+
elif "5GHz" in channel_info:
|
179
|
+
band = "5GHz"
|
180
|
+
elif "6GHz" in channel_info:
|
181
|
+
band = "6GHz"
|
182
|
+
|
183
|
+
return speed, channel_info, band
|
184
|
+
|
185
|
+
return "Unknown", "Unknown", "Unknown"
|
186
|
+
except Exception as e:
|
187
|
+
# 可以考虑添加日志记录 print(f"WiFi info error: {str(e)}")
|
188
|
+
return "Unknown", "Unknown", "Unknown"
|
22
189
|
|
23
190
|
def __handleError(self):
|
24
|
-
self.__nicInfo.nics.append("en0")
|
191
|
+
self.__nicInfo.nics.append("en0 - Unknown connection")
|
25
192
|
self.__nicInfo.number = 1
|
Binary file
|
Binary file
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import ctypes
|
2
|
+
|
3
|
+
|
4
|
+
def main():
|
5
|
+
lib = ctypes.CDLL(f"../lib/iokitGPULib.dylib")
|
6
|
+
lib.getGPUInfo.restype = ctypes.c_char_p
|
7
|
+
lib.getAppleSiliconGPUInfo.restype = ctypes.c_char_p
|
8
|
+
gpu_info = lib.getAppleSiliconGPUInfo()
|
9
|
+
print(gpu_info.decode('utf-8'))
|
10
|
+
|
11
|
+
|
12
|
+
if __name__ == "__main__":
|
13
|
+
main()
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,76 @@
|
|
1
|
+
import ctypes
|
2
|
+
from ctypes import c_char_p, c_bool, c_int32, c_char, byref, create_string_buffer
|
3
|
+
import os
|
4
|
+
|
5
|
+
|
6
|
+
def main():
|
7
|
+
current_dir = os.path.dirname(os.path.abspath(__file__))
|
8
|
+
lib_path = os.path.join(current_dir, "../lib/iokitNICLib.dylib")
|
9
|
+
|
10
|
+
try:
|
11
|
+
lib = ctypes.CDLL(lib_path)
|
12
|
+
|
13
|
+
lib.getDefaultInterface.argtypes = [c_char_p]
|
14
|
+
lib.getDefaultInterface.restype = c_bool
|
15
|
+
|
16
|
+
lib.getNetworkInfo.argtypes = [c_char_p, ctypes.POINTER(c_bool),
|
17
|
+
c_char_p, ctypes.POINTER(c_int32),
|
18
|
+
c_char_p, c_char_p, c_char_p, c_char_p]
|
19
|
+
lib.getNetworkInfo.restype = c_bool
|
20
|
+
|
21
|
+
interface = create_string_buffer(32)
|
22
|
+
if lib.getDefaultInterface(interface):
|
23
|
+
interface_str = interface.value.decode('utf-8')
|
24
|
+
|
25
|
+
# interface_str = "en1"
|
26
|
+
print(f"默认网络接口: {interface_str}")
|
27
|
+
|
28
|
+
is_wifi = c_bool(False)
|
29
|
+
ip_address = create_string_buffer(32)
|
30
|
+
speed = c_int32(0)
|
31
|
+
band = create_string_buffer(16)
|
32
|
+
channel = create_string_buffer(32)
|
33
|
+
conn_type = create_string_buffer(32)
|
34
|
+
wifi_standard = create_string_buffer(16)
|
35
|
+
|
36
|
+
if lib.getNetworkInfo(interface_str.encode('utf-8'),
|
37
|
+
byref(is_wifi),
|
38
|
+
ip_address,
|
39
|
+
byref(speed),
|
40
|
+
band,
|
41
|
+
channel,
|
42
|
+
conn_type,
|
43
|
+
wifi_standard):
|
44
|
+
|
45
|
+
print("=== 网络信息 ===")
|
46
|
+
print(f"接口: {interface_str}")
|
47
|
+
print(f"IP地址: {ip_address.value.decode('utf-8')}")
|
48
|
+
print(f"连接类型: {conn_type.value.decode('utf-8')}")
|
49
|
+
print(f"速度: {speed.value} Mbps")
|
50
|
+
|
51
|
+
if is_wifi.value:
|
52
|
+
print(f"Wi-Fi频段: {band.value.decode('utf-8')}")
|
53
|
+
print(f"信道: {channel.value.decode('utf-8')}")
|
54
|
+
print(f"Wi-Fi标准: {wifi_standard.value.decode('utf-8')}")
|
55
|
+
|
56
|
+
if is_wifi.value:
|
57
|
+
wifi_info = f"{wifi_standard.value.decode('utf-8')} {band.value.decode('utf-8')}"
|
58
|
+
conn_info = f"{conn_type.value.decode('utf-8')} ({wifi_info}, {speed.value} Mbps)"
|
59
|
+
else:
|
60
|
+
conn_info = conn_type.value.decode('utf-8')
|
61
|
+
|
62
|
+
formatted_output = f"{interface_str} @ {ip_address.value.decode('utf-8')} - {conn_info}"
|
63
|
+
print("\n格式化输出:")
|
64
|
+
print(formatted_output)
|
65
|
+
else:
|
66
|
+
print(f"无法获取接口 {interface_str} 的网络信息")
|
67
|
+
else:
|
68
|
+
print("无法获取默认网络接口")
|
69
|
+
|
70
|
+
except Exception as e:
|
71
|
+
print(f"错误: {e}")
|
72
|
+
|
73
|
+
|
74
|
+
if __name__ == "__main__":
|
75
|
+
main()
|
76
|
+
|
@@ -1,5 +1,5 @@
|
|
1
|
-
pyhw/__init__.py,sha256=
|
2
|
-
pyhw/__main__.py,sha256=
|
1
|
+
pyhw/__init__.py,sha256=uDGqf08M75C64PfWAahj4FwtgOBKhB-Je3iMKkV_bP0,49
|
2
|
+
pyhw/__main__.py,sha256=M2WZgtqir5JBcpMbIqay4Hb08-Ncl1EPobzNkpgoL34,7679
|
3
3
|
pyhw/backend/__init__.py,sha256=X1D1D28lSojDrUzUolgJvmbuctwBh_UxG3FwUeL8adA,51
|
4
4
|
pyhw/backend/backendBase.py,sha256=mloo8mPEbgbIdmyQ3I4vdEXMSSjxWi_wnwACmzvHbEo,506
|
5
5
|
pyhw/backend/cpu/__init__.py,sha256=5YfANJVRwNwTRodG0ENOgusrdN592aaSnfq5ok4dKTo,56
|
@@ -14,7 +14,7 @@ pyhw/backend/gpu/bsd.py,sha256=ladMMIlTwb6Z1ETCLFII--lkeLCp50Wb7WFrlOXa5DQ,123
|
|
14
14
|
pyhw/backend/gpu/gpuBase.py,sha256=ZPT9o7PhYpzlwign0GsCT519F9DGx-1UEMVVOM8MV_k,748
|
15
15
|
pyhw/backend/gpu/gpuInfo.py,sha256=d_z_z5DiZAg85wP0VOBQEU0QHdaK3qFqA2Tp9Eq8-Zs,133
|
16
16
|
pyhw/backend/gpu/linux.py,sha256=myapmOCsfjBxSmXxGt33bCIN18ko5lNDKcNWQ1Vlhcg,3149
|
17
|
-
pyhw/backend/gpu/macos.py,sha256=
|
17
|
+
pyhw/backend/gpu/macos.py,sha256=4OA4rhelS8v4Quy4S-NLpkZfYEk7XFr2ZRf_Sz7pPpY,4957
|
18
18
|
pyhw/backend/gpu/windows.py,sha256=kMCQmk_NLXus45iHM9eKYOno_LPBW1GsrwUy1v5ar3Q,1206
|
19
19
|
pyhw/backend/host/__init__.py,sha256=OmlSGjg3crlFcGz2FhBDyd35R7H0rriy3eq57y8h0_s,59
|
20
20
|
pyhw/backend/host/bsd.py,sha256=xePlHfVYv7PSWMU1a7mTbMK3mzl2ssttkI13Xi5s00w,381
|
@@ -38,7 +38,7 @@ pyhw/backend/memory/windows.py,sha256=ISihGHBnV8iD4Xj8_kelFSCydPu05CYKxG5q_wM5Zb
|
|
38
38
|
pyhw/backend/nic/__init__.py,sha256=eP4eOYIvMF3LcTf954hJa6TnB8R4Qahss2g-UcgypKY,57
|
39
39
|
pyhw/backend/nic/bsd.py,sha256=6nj7XXII5dRz3FGRYAXVgTt0vSgyQo0Re9JA1vlcnuw,134
|
40
40
|
pyhw/backend/nic/linux.py,sha256=e6gX58RBE9IDKb0FrzZ7U2EhDNfGJsR6OvXq6qO5ZOc,2003
|
41
|
-
pyhw/backend/nic/macos.py,sha256=
|
41
|
+
pyhw/backend/nic/macos.py,sha256=AOT6IvgEGvWPIpv8UwlTGbFO7zaDDQn4xC1NL8SKmeo,8566
|
42
42
|
pyhw/backend/nic/nicBase.py,sha256=Kng5qoe7FHcnQaf6S-LUe_HyOaBJe0L1SVstdIQ_WJY,962
|
43
43
|
pyhw/backend/nic/nicInfo.py,sha256=wuBuL-aIzD441IUDPGz5e0xctcZ-opdpgqkVxgbvZLg,133
|
44
44
|
pyhw/backend/nic/windows.py,sha256=4yJ0pmiXokegLEC299WLwqiW9uHAgaiVpkR2vCuzECg,1225
|
@@ -104,12 +104,15 @@ pyhw/frontend/logo/ascii/windows_11.pyhw,sha256=VuQTzbBabaEQhm2JBVhy6Ja6lClUGacQ
|
|
104
104
|
pyhw/frontend/logo/ascii/windows_2025.pyhw,sha256=o8eWsiyhNpDoEjiWFiBMfkd-8MdIslGc1Jpm85LU4P8,643
|
105
105
|
pyhw/frontend/logo/ascii/windows_old.pyhw,sha256=AMsvWAZ50HM8lweWEmzDWbRNDGkKFJo9qLY_VRKrciY,580
|
106
106
|
pyhw/library/lib/iokitCPULib.dylib,sha256=uMDDaijZGvTNkdT0ccQ55SDO4rRrzj8GSbrDMKeLAZ0,34280
|
107
|
-
pyhw/library/lib/iokitGPULib.dylib,sha256=
|
107
|
+
pyhw/library/lib/iokitGPULib.dylib,sha256=uiULOcAPpwOG7LZGR8Sdmjh_p5QjKN1OBBCfDMnUohk,155640
|
108
108
|
pyhw/library/lib/iokitHostLib.dylib,sha256=MKxyKUkD4IZomP4exATikWx2SxqSDqQx4FEuIkFAEnc,149912
|
109
|
+
pyhw/library/lib/iokitNICLib.dylib,sha256=gOtCQFxtHnsmU9XuWUp67eOPXJw2gIBxeVLesaIb6rY,212360
|
109
110
|
pyhw/library/lib/nvmlGPULib_amd64.so,sha256=lrkxeJjChUs8oVhaw_uMeXKbUJp24KroQ_hhcLtHfTg,12784
|
110
111
|
pyhw/library/lib/nvmlGPULib_arm64.so,sha256=DFIYqNcuRxiZ8_jrYoaRB3Dx9GrY7UBXscwXQvV4k3I,13528
|
111
112
|
pyhw/library/test/iokitCPULibTest.py,sha256=BrhMypgfJTeMectpDc9Tmwzp8gYwYAcowaTFf72LlLE,311
|
113
|
+
pyhw/library/test/iokitGPULibTest.py,sha256=9Kzu6ZSnxJ5cv1JHA5N9ZUBdhjcHvC9Aes5Rf0AP7OE,305
|
112
114
|
pyhw/library/test/iokitHostLibTest.py,sha256=oz5x1g4WMdoikU3Eo6zoxcHZ4e-UMRhXg0C0Lflo-ac,272
|
115
|
+
pyhw/library/test/iokitNICLibTest.py,sha256=ROjfJf0ocWvRFueIyRBQ4Y0V7stlMNiAADIM3fMy7YY,2947
|
113
116
|
pyhw/library/test/nvmlGPULibTest.py,sha256=F4AjQGZDNj29fRtxvy41zCSFi2Eirp0CQSYuxuw0n60,785
|
114
117
|
pyhw/pyhwException/__init__.py,sha256=juw4PdgPa-eLy0y678BQ7_Ck-BJa-P0LHyKCGePazb8,221
|
115
118
|
pyhw/pyhwException/pyhwException.py,sha256=wxuzFQa9g7XB1q9TUKO_55lw7wMEJMpzG8w1GVTFVa0,197
|
@@ -118,9 +121,9 @@ pyhw/pyhwUtil/cliUtil.py,sha256=IUcWun5nDwQb20Qe8YefS5j3Jji8a-F41Qd9QwCf0h0,2454
|
|
118
121
|
pyhw/pyhwUtil/pciUtil.py,sha256=WAluDRDb-gUbqhvSIusFzPrf6r98EkrNEAwbPyMwrTc,202
|
119
122
|
pyhw/pyhwUtil/pyhwUtil.py,sha256=V3M6X9eTirwnwwRiSJaLUWrZKZYMbRihARJVQc879P8,8364
|
120
123
|
pyhw/pyhwUtil/sysctlUtil.py,sha256=S-rUvqi7ZrMyMouIhxlyHEQ4agM7sCT1Y7uzs3Hu5-o,841
|
121
|
-
pyhw-0.14.
|
122
|
-
pyhw-0.14.
|
123
|
-
pyhw-0.14.
|
124
|
-
pyhw-0.14.
|
125
|
-
pyhw-0.14.
|
126
|
-
pyhw-0.14.
|
124
|
+
pyhw-0.14.3.dist-info/licenses/LICENSE,sha256=hJs6RBqSVCexbTsalkMLNFI5t06kekQEsSVaOt_-yLs,1497
|
125
|
+
pyhw-0.14.3.dist-info/METADATA,sha256=0UpA2mqZLUjRxELU5nfjZZwn_rb2PCCzodnvvuKyRdI,7715
|
126
|
+
pyhw-0.14.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
127
|
+
pyhw-0.14.3.dist-info/entry_points.txt,sha256=q-AB8im_QahpmNrmy4aPTJRGi0LlbNlnI3kF7s6pKss,44
|
128
|
+
pyhw-0.14.3.dist-info/top_level.txt,sha256=7Inxvxt1TngEricKZEex9_WJZS3DbKYFUXDz4v5WHYU,5
|
129
|
+
pyhw-0.14.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|