pyhw 0.14.0__py3-none-any.whl → 0.14.1__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 CHANGED
@@ -1,2 +1,2 @@
1
- __version__ = '0.14.0'
1
+ __version__ = '0.14.1'
2
2
  __author__ = 'xiaoran007'
pyhw/backend/npu/macos.py CHANGED
@@ -44,20 +44,20 @@ class NPUDetectMacOS:
44
44
  # see https://apple.fandom.com/wiki/Neural_Engine for more details.
45
45
  model_name = CPUDetect(os=getOS()).getCPUInfo().model
46
46
  npu = {
47
- "Apple M1": "Apple Neural Engine 16 Cores (5nm) [SOC Integrated]",
48
- "Apple M1 Pro": "Apple Neural Engine 16 Cores (5nm) [SOC Integrated]",
49
- "Apple M1 Max": "Apple Neural Engine 16 Cores (5nm) [SOC Integrated]",
50
- "Apple M1 Ultra": "Apple Neural Engine 32 Cores (5nm) [SOC Integrated]",
51
- "Apple M2": "Apple Neural Engine 16 Cores (5nm) [SOC Integrated]",
52
- "Apple M2 Pro": "Apple Neural Engine 16 Cores (5nm) [SOC Integrated]",
53
- "Apple M2 Max": "Apple Neural Engine 16 Cores (5nm) [SOC Integrated]",
54
- "Apple M2 Ultra": "Apple Neural Engine 32 Cores (5nm) [SOC Integrated]",
55
- "Apple M3": "Apple Neural Engine 16 Cores (3nm) [SOC Integrated]",
56
- "Apple M3 Pro": "Apple Neural Engine 16 Cores (3nm) [SOC Integrated]",
57
- "Apple M3 Max": "Apple Neural Engine 16 Cores (3nm) [SOC Integrated]",
58
- "Apple M3 Ultra": "Apple Neural Engine 32 Cores (3nm) [SOC Integrated]",
59
- "Apple M4": "Apple Neural Engine 16 Cores (3nm) [SOC Integrated]",
60
- "Apple M4 Pro": "Apple Neural Engine 16 Cores (3nm) [SOC Integrated]",
61
- "Apple M4 Max": "Apple Neural Engine 16 Cores (3nm) [SOC Integrated]"
47
+ "Apple M1": "Apple Neural Engine 16 Cores (11 TOPS) [SOC Integrated]",
48
+ "Apple M1 Pro": "Apple Neural Engine 16 Cores (11 TOPS [SOC Integrated]",
49
+ "Apple M1 Max": "Apple Neural Engine 16 Cores (11 TOPS) [SOC Integrated]",
50
+ "Apple M1 Ultra": "Apple Neural Engine 32 Cores (22 TOPS) [SOC Integrated]",
51
+ "Apple M2": "Apple Neural Engine 16 Cores (15.8 TOPS) [SOC Integrated]",
52
+ "Apple M2 Pro": "Apple Neural Engine 16 Cores (15.8 TOPS) [SOC Integrated]",
53
+ "Apple M2 Max": "Apple Neural Engine 16 Cores (15.8 TOPS) [SOC Integrated]",
54
+ "Apple M2 Ultra": "Apple Neural Engine 32 Cores (31.6 TOPS) [SOC Integrated]",
55
+ "Apple M3": "Apple Neural Engine 16 Cores (18 TOPS) [SOC Integrated]",
56
+ "Apple M3 Pro": "Apple Neural Engine 16 Cores (18 TOPS) [SOC Integrated]",
57
+ "Apple M3 Max": "Apple Neural Engine 16 Cores (18 TOPS) [SOC Integrated]",
58
+ "Apple M3 Ultra": "Apple Neural Engine 32 Cores (36 TOPS) [SOC Integrated]",
59
+ "Apple M4": "Apple Neural Engine 16 Cores (38 TOPS) [SOC Integrated]",
60
+ "Apple M4 Pro": "Apple Neural Engine 16 Cores (38 TOPS) [SOC Integrated]",
61
+ "Apple M4 Max": "Apple Neural Engine 16 Cores (38 TOPS) [SOC Integrated]"
62
62
  }
63
63
  return npu.get(model_name, "Not Found")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyhw
3
- Version: 0.14.0
3
+ Version: 0.14.1
4
4
  Summary: PyHw, a neofetch-like command line tool for fetching system information but written mostly in python.
5
5
  Author: Xiao Ran
6
6
  Maintainer-email: Xiao Ran <xiaoran.007@icloud.com>
@@ -1,4 +1,4 @@
1
- pyhw/__init__.py,sha256=wekZosg4xD4li2TOfMDXcyEbSvONAIkGLEbCumUyDLA,49
1
+ pyhw/__init__.py,sha256=vLCCfp6vkFGuTLWzKhiTL7svLlIrWaFlQfh5-mhr7yk,49
2
2
  pyhw/__main__.py,sha256=_8lT1XlZNR71daSu1IWs5befhb8wocCT4xIx2aMp-1Q,7168
3
3
  pyhw/backend/__init__.py,sha256=X1D1D28lSojDrUzUolgJvmbuctwBh_UxG3FwUeL8adA,51
4
4
  pyhw/backend/backendBase.py,sha256=mloo8mPEbgbIdmyQ3I4vdEXMSSjxWi_wnwACmzvHbEo,506
@@ -45,7 +45,7 @@ pyhw/backend/nic/windows.py,sha256=4yJ0pmiXokegLEC299WLwqiW9uHAgaiVpkR2vCuzECg,1
45
45
  pyhw/backend/npu/__init__.py,sha256=GP8IxlDyt0NWg70S8w-WWej4uVXY6eQwE0fMWFSVZPU,57
46
46
  pyhw/backend/npu/bsd.py,sha256=eKkOWZ4MBybR_KOGGcsWUpzCGgghhvuBy5VNsnEE8cI,134
47
47
  pyhw/backend/npu/linux.py,sha256=fLq3tPs1EUtTBYhFrh_10uRR8bouy7Cb0voWwz1GQbw,1842
48
- pyhw/backend/npu/macos.py,sha256=JBmqZAbGTPzCxpUVmlPBNoluLClXnQDHJwhC2Qqp3v4,2665
48
+ pyhw/backend/npu/macos.py,sha256=mnEMQdAxgUSW-bVg18_SCIVcEeBQgFQBaTv4PxO7Iog,2732
49
49
  pyhw/backend/npu/npuBase.py,sha256=1cVWRmr8g-mDXrJAx2cUO4qWZft2TtT7L2-HzRot2nI,748
50
50
  pyhw/backend/npu/npuInfo.py,sha256=WCr8y1zVrIk1rVgU6PG509nn0wxxRPV14F9_VRngT3k,133
51
51
  pyhw/backend/npu/windows.py,sha256=NRzIdb1akFXh3rhThUaKE-7q3n9wkDIeVd9o2Od_LRw,1230
@@ -118,9 +118,9 @@ pyhw/pyhwUtil/cliUtil.py,sha256=IUcWun5nDwQb20Qe8YefS5j3Jji8a-F41Qd9QwCf0h0,2454
118
118
  pyhw/pyhwUtil/pciUtil.py,sha256=WAluDRDb-gUbqhvSIusFzPrf6r98EkrNEAwbPyMwrTc,202
119
119
  pyhw/pyhwUtil/pyhwUtil.py,sha256=V3M6X9eTirwnwwRiSJaLUWrZKZYMbRihARJVQc879P8,8364
120
120
  pyhw/pyhwUtil/sysctlUtil.py,sha256=S-rUvqi7ZrMyMouIhxlyHEQ4agM7sCT1Y7uzs3Hu5-o,841
121
- pyhw-0.14.0.dist-info/licenses/LICENSE,sha256=hJs6RBqSVCexbTsalkMLNFI5t06kekQEsSVaOt_-yLs,1497
122
- pyhw-0.14.0.dist-info/METADATA,sha256=co8MwLUl3T4B4RFO1Wy1_OFnqFVC0XL6h80cz2zbNsc,7715
123
- pyhw-0.14.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
124
- pyhw-0.14.0.dist-info/entry_points.txt,sha256=q-AB8im_QahpmNrmy4aPTJRGi0LlbNlnI3kF7s6pKss,44
125
- pyhw-0.14.0.dist-info/top_level.txt,sha256=7Inxvxt1TngEricKZEex9_WJZS3DbKYFUXDz4v5WHYU,5
126
- pyhw-0.14.0.dist-info/RECORD,,
121
+ pyhw-0.14.1.dist-info/licenses/LICENSE,sha256=hJs6RBqSVCexbTsalkMLNFI5t06kekQEsSVaOt_-yLs,1497
122
+ pyhw-0.14.1.dist-info/METADATA,sha256=Hp0gBd0ADXGPYCifzHvy0BSo_yW7HIjblMKu10JAjmk,7715
123
+ pyhw-0.14.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
124
+ pyhw-0.14.1.dist-info/entry_points.txt,sha256=q-AB8im_QahpmNrmy4aPTJRGi0LlbNlnI3kF7s6pKss,44
125
+ pyhw-0.14.1.dist-info/top_level.txt,sha256=7Inxvxt1TngEricKZEex9_WJZS3DbKYFUXDz4v5WHYU,5
126
+ pyhw-0.14.1.dist-info/RECORD,,
File without changes