pyhw 0.8.0__tar.gz → 0.9.0__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pyhw-0.8.0/src/pyhw.egg-info → pyhw-0.9.0}/PKG-INFO +3 -2
- {pyhw-0.8.0 → pyhw-0.9.0}/README.md +2 -1
- {pyhw-0.8.0 → pyhw-0.9.0}/pyproject.toml +1 -1
- pyhw-0.9.0/src/pyhw/__init__.py +1 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/cpu/linux.py +3 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/gpu/linux.py +1 -1
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/host/linux.py +1 -1
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/kernel/windows.py +11 -2
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/nic/linux.py +2 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/npu/linux.py +18 -2
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/os/windows.py +11 -3
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/pyhwUtil/pyhwUtil.py +3 -1
- {pyhw-0.8.0 → pyhw-0.9.0/src/pyhw.egg-info}/PKG-INFO +3 -2
- pyhw-0.8.0/src/pyhw/__init__.py +0 -1
- {pyhw-0.8.0 → pyhw-0.9.0}/LICENSE +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/setup.cfg +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/__main__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/backendBase.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/cpu/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/cpu/bsd.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/cpu/cpuBase.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/cpu/cpuInfo.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/cpu/macos.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/cpu/windows.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/gpu/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/gpu/bsd.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/gpu/gpuBase.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/gpu/gpuInfo.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/gpu/macos.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/gpu/windows.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/host/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/host/bsd.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/host/hostBase.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/host/hostInfo.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/host/macos.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/host/windows.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/kernel/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/kernel/kernelBase.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/kernel/kernelInfo.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/kernel/unix.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/memory/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/memory/bsd.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/memory/linux.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/memory/macos.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/memory/memoryBase.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/memory/memoryInfo.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/memory/windows.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/metal/t.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/nic/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/nic/bsd.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/nic/macos.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/nic/nicBase.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/nic/nicInfo.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/nic/windows.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/npu/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/npu/bsd.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/npu/macos.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/npu/npuBase.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/npu/npuInfo.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/npu/windows.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/os/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/os/bsd.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/os/linux.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/os/macos.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/os/osBase.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/os/osInfo.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/shell/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/shell/shellBase.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/shell/shellInfo.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/shell/unix.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/shell/windows.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/title/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/title/titleBase.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/title/titleInfo.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/title/unix.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/title/windows.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/uptime/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/uptime/bsd.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/uptime/linux.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/uptime/macos.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/uptime/uptimeBase.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/uptime/uptimeInfo.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/backend/uptime/windows.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/color/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/color/colorConfig.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/color/colorSet.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/color/colorUtil.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/frontendBase.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/alpine.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/arch.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/armbian.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/centos.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/debian.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/fedora.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/fedora_small.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/freebsd.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/linux.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/macOS.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/raspbian.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/ubuntu.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/ubuntu_small.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/windows_10.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/windows_11.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/windows_2025.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/ascii/windows_old.pyhw +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/frontend/logo/logoBase.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/library/lib/iokitGPULib.dylib +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/pyhwException/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/pyhwException/pyhwException.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/pyhwUtil/__init__.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw/pyhwUtil/sysctlUtil.py +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw.egg-info/SOURCES.txt +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw.egg-info/dependency_links.txt +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw.egg-info/entry_points.txt +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw.egg-info/requires.txt +0 -0
- {pyhw-0.8.0 → pyhw-0.9.0}/src/pyhw.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: pyhw
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.9.0
|
4
4
|
Summary: PyHw, a neofetch-like command line tool for fetching system information but written mostly in python.
|
5
5
|
Author-email: Xiao Ran <xiaoran.007@icloud.com>
|
6
6
|
License: BSD-3-Clause
|
@@ -27,6 +27,7 @@ Requires-Dist: pypci-ng>=0.1.2
|
|
27
27
|
|
28
28
|

|
29
29
|

|
30
|
+

|
30
31
|
|
31
32
|
|
32
33
|
PyHw, a neofetch-like command line tool for fetching system information but written mostly in Python. **Currently, this project is still in the initial stage, only Linux, macOS, FreeBSD and Windows are supported.**
|
@@ -96,7 +97,7 @@ This is due to the fact that system python is not supposed to be managed by pip.
|
|
96
97
|
|
97
98
|
## Tested OS
|
98
99
|
* macOS arm64, x86_64
|
99
|
-
* Linux arm64, x86_64
|
100
|
+
* Linux arm64, x86_64, riscv64
|
100
101
|
* FreeBSD arm64
|
101
102
|
* Windows 10 X86_64
|
102
103
|
|
@@ -10,6 +10,7 @@
|
|
10
10
|
|
11
11
|

|
12
12
|

|
13
|
+

|
13
14
|
|
14
15
|
|
15
16
|
PyHw, a neofetch-like command line tool for fetching system information but written mostly in Python. **Currently, this project is still in the initial stage, only Linux, macOS, FreeBSD and Windows are supported.**
|
@@ -79,7 +80,7 @@ This is due to the fact that system python is not supposed to be managed by pip.
|
|
79
80
|
|
80
81
|
## Tested OS
|
81
82
|
* macOS arm64, x86_64
|
82
|
-
* Linux arm64, x86_64
|
83
|
+
* Linux arm64, x86_64, riscv64
|
83
84
|
* FreeBSD arm64
|
84
85
|
* Windows 10 X86_64
|
85
86
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "pyhw"
|
7
|
-
version = "0.
|
7
|
+
version = "0.9.0"
|
8
8
|
description = "PyHw, a neofetch-like command line tool for fetching system information but written mostly in python."
|
9
9
|
keywords = ["neofetch", "system information", "command line tool", "python", "hardware information", "fastfetch", "fetching"]
|
10
10
|
authors = [
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = '0.9.0'
|
@@ -73,6 +73,9 @@ class CPUDetectLinux:
|
|
73
73
|
model = compatible.split(",")[-1]
|
74
74
|
if model.startswith("sun"):
|
75
75
|
self.__cpuInfo.model = f"Allwinner {model.split('-')[-1].upper()} ({model})"
|
76
|
+
elif "cvitek" in compatible:
|
77
|
+
model = compatible.split(",")[-1]
|
78
|
+
self.__cpuInfo.model = f"Cvitek {model}"
|
76
79
|
else:
|
77
80
|
pass
|
78
81
|
|
@@ -29,7 +29,7 @@ class GPUDetectLinux:
|
|
29
29
|
|
30
30
|
def __handleNonePciDevices(self):
|
31
31
|
# if detector can't find any VGA/Display/3D GPUs, assume the host is a sbc device, this function is a placeholder for a more advanced method.
|
32
|
-
if getArch()
|
32
|
+
if getArch() in ["aarch64", "arm32", "riscv64"]:
|
33
33
|
self.__gpuInfo.number = 1
|
34
34
|
self.__gpuInfo.gpus.append(f"{CPUDetect(os='linux').getCPUInfo().model} [SOC Integrated]")
|
35
35
|
else:
|
@@ -39,7 +39,7 @@ class HostDetectLinux:
|
|
39
39
|
self._hostInfo.model = self._hostInfo.name + " " + self._hostInfo.version
|
40
40
|
except FileNotFoundError:
|
41
41
|
pass
|
42
|
-
elif self._arch in ["aarch64", "arm32"]:
|
42
|
+
elif self._arch in ["aarch64", "arm32", "riscv64"]:
|
43
43
|
# try to find dmi folder since some arm based desktops and servers may have same structure as x86_64 machines.
|
44
44
|
if os.path.exists("/sys/devices/virtual/dmi/id"):
|
45
45
|
try:
|
@@ -15,7 +15,10 @@ class KernelDetectWindows:
|
|
15
15
|
version = platform.version()
|
16
16
|
machine = platform.machine()
|
17
17
|
display = self.__get_windows_version()
|
18
|
-
|
18
|
+
if display != "":
|
19
|
+
self.__kernelInfo.kernel = f"{version} ({display}) {machine}"
|
20
|
+
else:
|
21
|
+
self.__kernelInfo.kernel = f"{version} {machine}"
|
19
22
|
return self.__kernelInfo
|
20
23
|
|
21
24
|
@staticmethod
|
@@ -26,4 +29,10 @@ class KernelDetectWindows:
|
|
26
29
|
winreg.CloseKey(key)
|
27
30
|
return str(display_version)
|
28
31
|
except:
|
29
|
-
|
32
|
+
try:
|
33
|
+
key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r"SOFTWARE\Microsoft\Windows NT\CurrentVersion")
|
34
|
+
release_id, _ = winreg.QueryValueEx(key, "ReleaseId")
|
35
|
+
winreg.CloseKey(key)
|
36
|
+
return str(release_id)
|
37
|
+
except:
|
38
|
+
return ""
|
@@ -39,6 +39,8 @@ class NICDetectLinux:
|
|
39
39
|
for interface in interfaces:
|
40
40
|
try:
|
41
41
|
if_ip = subprocess.run(["bash", "-c", f"ip -4 addr show {interface} | grep inet | awk '{{print $2}}'"], capture_output=True, text=True).stdout.strip().split("/")[0]
|
42
|
+
if if_ip == "":
|
43
|
+
continue
|
42
44
|
self._nicInfo.nics.append(f"{interface} @ {if_ip}")
|
43
45
|
self._nicInfo.number += 1
|
44
46
|
except:
|
@@ -1,5 +1,6 @@
|
|
1
1
|
from .npuInfo import NPUInfo
|
2
2
|
import pypci
|
3
|
+
import os
|
3
4
|
|
4
5
|
|
5
6
|
class NPUDetectLinux:
|
@@ -25,9 +26,24 @@ class NPUDetectLinux:
|
|
25
26
|
self._npuInfo.number += 1
|
26
27
|
|
27
28
|
def _handleNonePciDevices(self):
|
29
|
+
if os.path.exists("/sys/firmware/devicetree/base/tpu/compatible"):
|
30
|
+
try:
|
31
|
+
with open("/sys/firmware/devicetree/base/tpu/compatible", "r") as f:
|
32
|
+
compatible = f.read().strip()
|
33
|
+
except FileNotFoundError:
|
34
|
+
compatible = ""
|
35
|
+
if "cvitek" in compatible:
|
36
|
+
model = compatible.split(",")[-1]
|
37
|
+
self._npuInfo.npus.append(f"Cvitek {model}")
|
38
|
+
self._npuInfo.number = 1
|
39
|
+
else:
|
40
|
+
pass
|
41
|
+
else:
|
42
|
+
pass
|
28
43
|
# Place Holder for unknown NPU
|
29
|
-
self._npuInfo.number
|
30
|
-
|
44
|
+
if self._npuInfo.number == 0:
|
45
|
+
self._npuInfo.number = 1
|
46
|
+
self._npuInfo.npus.append("Not found")
|
31
47
|
|
32
48
|
@staticmethod
|
33
49
|
def _npuNameClean(npu_name: str):
|
@@ -14,7 +14,10 @@ class OSDetectWindows:
|
|
14
14
|
edition = platform.win32_edition()
|
15
15
|
machine = platform.machine()
|
16
16
|
display = self.__get_windows_version()
|
17
|
-
|
17
|
+
if display != "":
|
18
|
+
self._osInfo.prettyName = f"{system} {release} {display} ({edition}) {machine}"
|
19
|
+
else:
|
20
|
+
self._osInfo.prettyName = f"{system} {release} ({edition}) {machine}"
|
18
21
|
if release == "10":
|
19
22
|
self._osInfo.id = "windows_10"
|
20
23
|
elif release == "11":
|
@@ -31,5 +34,10 @@ class OSDetectWindows:
|
|
31
34
|
winreg.CloseKey(key)
|
32
35
|
return str(display_version)
|
33
36
|
except:
|
34
|
-
|
35
|
-
|
37
|
+
try:
|
38
|
+
key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r"SOFTWARE\Microsoft\Windows NT\CurrentVersion")
|
39
|
+
release_id, _ = winreg.QueryValueEx(key, "ReleaseId")
|
40
|
+
winreg.CloseKey(key)
|
41
|
+
return str(release_id)
|
42
|
+
except:
|
43
|
+
return ""
|
@@ -25,7 +25,7 @@ def getOS():
|
|
25
25
|
def getArch():
|
26
26
|
"""
|
27
27
|
Get the machine architecture.
|
28
|
-
:return: str, value in [x86_64, x86, aarch64, arm32].
|
28
|
+
:return: str, value in [x86_64, x86, aarch64, arm32, riscv64].
|
29
29
|
"""
|
30
30
|
arch = platform.machine()
|
31
31
|
if arch == "x86_64" or arch == "AMD64" or arch == "amd64":
|
@@ -36,6 +36,8 @@ def getArch():
|
|
36
36
|
return "aarch64"
|
37
37
|
elif arch.find("arm") != -1:
|
38
38
|
return "arm32"
|
39
|
+
elif arch == "riscv64":
|
40
|
+
return "riscv64"
|
39
41
|
else:
|
40
42
|
return "unknown"
|
41
43
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: pyhw
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.9.0
|
4
4
|
Summary: PyHw, a neofetch-like command line tool for fetching system information but written mostly in python.
|
5
5
|
Author-email: Xiao Ran <xiaoran.007@icloud.com>
|
6
6
|
License: BSD-3-Clause
|
@@ -27,6 +27,7 @@ Requires-Dist: pypci-ng>=0.1.2
|
|
27
27
|
|
28
28
|

|
29
29
|

|
30
|
+

|
30
31
|
|
31
32
|
|
32
33
|
PyHw, a neofetch-like command line tool for fetching system information but written mostly in Python. **Currently, this project is still in the initial stage, only Linux, macOS, FreeBSD and Windows are supported.**
|
@@ -96,7 +97,7 @@ This is due to the fact that system python is not supposed to be managed by pip.
|
|
96
97
|
|
97
98
|
## Tested OS
|
98
99
|
* macOS arm64, x86_64
|
99
|
-
* Linux arm64, x86_64
|
100
|
+
* Linux arm64, x86_64, riscv64
|
100
101
|
* FreeBSD arm64
|
101
102
|
* Windows 10 X86_64
|
102
103
|
|
pyhw-0.8.0/src/pyhw/__init__.py
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = '0.8.0'
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|