pyhw 0.13.0__tar.gz → 0.13.2__tar.gz
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-0.13.0/src/pyhw.egg-info → pyhw-0.13.2}/PKG-INFO +35 -27
- {pyhw-0.13.0 → pyhw-0.13.2}/README.md +33 -25
- {pyhw-0.13.0 → pyhw-0.13.2}/pyproject.toml +2 -2
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/__init__.py +1 -1
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/host/__init__.py +1 -1
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/host/macos.py +0 -3
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/host/windows.py +0 -3
- pyhw-0.13.2/src/pyhw/library/lib/iokitCPULib.dylib +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/library/lib/iokitGPULib.dylib +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/library/lib/iokitHostLib.dylib +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2/src/pyhw.egg-info}/PKG-INFO +35 -27
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw.egg-info/SOURCES.txt +1 -0
- pyhw-0.13.2/src/pyhw.egg-info/requires.txt +1 -0
- pyhw-0.13.0/src/pyhw.egg-info/requires.txt +0 -1
- {pyhw-0.13.0 → pyhw-0.13.2}/LICENSE +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/setup.cfg +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/__main__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/backendBase.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/cpu/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/cpu/bsd.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/cpu/cpuBase.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/cpu/cpuInfo.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/cpu/linux.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/cpu/macos.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/cpu/windows.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/gpu/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/gpu/bsd.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/gpu/gpuBase.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/gpu/gpuInfo.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/gpu/linux.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/gpu/macos.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/gpu/windows.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/host/bsd.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/host/hostBase.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/host/hostInfo.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/host/linux.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/kernel/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/kernel/kernelBase.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/kernel/kernelInfo.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/kernel/unix.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/kernel/windows.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/memory/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/memory/bsd.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/memory/linux.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/memory/macos.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/memory/memoryBase.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/memory/memoryInfo.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/memory/windows.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/nic/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/nic/bsd.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/nic/linux.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/nic/macos.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/nic/nicBase.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/nic/nicInfo.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/nic/windows.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/npu/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/npu/bsd.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/npu/linux.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/npu/macos.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/npu/npuBase.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/npu/npuInfo.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/npu/windows.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/os/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/os/bsd.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/os/linux.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/os/macos.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/os/osBase.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/os/osInfo.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/os/windows.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/shell/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/shell/shellBase.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/shell/shellInfo.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/shell/unix.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/shell/windows.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/title/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/title/titleBase.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/title/titleInfo.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/title/unix.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/title/windows.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/uptime/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/uptime/bsd.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/uptime/linux.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/uptime/macos.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/uptime/uptimeBase.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/uptime/uptimeInfo.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/backend/uptime/windows.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/color/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/color/colorConfig.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/color/colorSet.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/color/colorUtil.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/frontendBase.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/alpine.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/arch.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/armbian.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/centos.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/debian.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/fedora.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/fedora_small.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/freebsd.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/kali.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/linux.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/linuxmint.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/macOS.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/opensuse-leap.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/opensuse-tumbleweed.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/raspbian.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/rhel.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/ubuntu.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/ubuntu_small.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/windows_10.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/windows_11.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/windows_2025.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/ascii/windows_old.pyhw +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/frontend/logo/logoBase.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/library/lib/nvmlGPULib_amd64.so +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/library/lib/nvmlGPULib_arm64.so +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/library/test/iokitHostLibTest.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/library/test/nvmlGPULibTest.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/pyhwException/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/pyhwException/pyhwException.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/pyhwUtil/__init__.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/pyhwUtil/cliUtil.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/pyhwUtil/pyhwUtil.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw/pyhwUtil/sysctlUtil.py +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw.egg-info/dependency_links.txt +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw.egg-info/entry_points.txt +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/src/pyhw.egg-info/top_level.txt +0 -0
- {pyhw-0.13.0 → pyhw-0.13.2}/test/test_cliUtil.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pyhw
|
3
|
-
Version: 0.13.
|
3
|
+
Version: 0.13.2
|
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>
|
@@ -13,10 +13,10 @@ Classifier: Operating System :: OS Independent
|
|
13
13
|
Requires-Python: >=3.9
|
14
14
|
Description-Content-Type: text/markdown
|
15
15
|
License-File: LICENSE
|
16
|
-
Requires-Dist: pypci-ng>=0.2.
|
16
|
+
Requires-Dist: pypci-ng>=0.2.5
|
17
17
|
Dynamic: license-file
|
18
18
|
|
19
|
-
# PyHw
|
19
|
+
# PyHw, a neofetch-like system information fetching tool
|
20
20
|
[](https://pepy.tech/project/pyhw)
|
21
21
|

|
22
22
|

|
@@ -44,6 +44,12 @@ This project is a Python reimplementation of [neofetch](https://github.com/dylan
|
|
44
44
|

|
45
45
|
|
46
46
|
|
47
|
+
- [1. Install](#1-install)
|
48
|
+
- [2. Usability](#2-usability)
|
49
|
+
- [3. Add Logo](#3-add-logo)
|
50
|
+
- [4. Build from source](#4-build-from-source)
|
51
|
+
- [5. Test Package](#5-test-package)
|
52
|
+
- [6. Troubleshooting](#6-troubleshooting)
|
47
53
|
|
48
54
|
|
49
55
|
## 1. Install
|
@@ -81,34 +87,12 @@ python -m pyhw
|
|
81
87
|
Please note that the command line entry for __pyhw__ is created by pip, and depending on the user, this entry may not in the __system PATH__. If you encounter this problem, pip will give you a prompt, follow the prompts to add entry to the __system PATH__.
|
82
88
|
|
83
89
|
|
84
|
-
### 1.3 Important note about debian 12:
|
85
|
-
If you use system pip to install pyhw, you will encounter this problem on debian12 and some related distributions (like Ubuntu 24.04):
|
86
|
-
```text
|
87
|
-
error: externally-managed-environment
|
88
|
-
|
89
|
-
× This environment is externally managed
|
90
|
-
╰─> To install Python packages system-wide, try apt install
|
91
|
-
python3-xyz, where xyz is the package you are trying to
|
92
|
-
install.
|
93
|
-
|
94
|
-
If you wish to install a non-Debian-packaged Python package,
|
95
|
-
create a virtual environment using python3 -m venv path/to/venv.
|
96
|
-
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
|
97
|
-
sure you have python3-full installed.
|
98
|
-
|
99
|
-
For more information visit http://rptl.io/venv
|
100
|
-
|
101
|
-
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
|
102
|
-
hint: See PEP 668 for the detailed specification.
|
103
|
-
```
|
104
|
-
This is due to the fact that system python is not supposed to be managed by pip. You can simply use **pipx** to install **pyhw**. Or you can use a virtual environment (venv), conda environment or force remove this restriction (not recommended).
|
105
|
-
|
106
90
|
## 2. Usability
|
107
91
|
### Tested Platform
|
108
92
|
The following platforms have been tested and are known to work with this package:
|
109
93
|
* macOS: arm64, x86_64
|
110
|
-
* Linux: arm64, x86_64, riscv64
|
111
|
-
* FreeBSD: arm64
|
94
|
+
* Linux: arm64, x86_64, riscv64, ppc64le, mips64el, s390x
|
95
|
+
* FreeBSD: arm64, x86_64
|
112
96
|
* Windows 10: x86_64
|
113
97
|
* Windows 11: arm64, x86_64
|
114
98
|
|
@@ -123,6 +107,7 @@ The functionality of this package varies slightly on different operating systems
|
|
123
107
|
1. Create a file named **\<os>.pyhw** in **logo/ascii** folder
|
124
108
|
2. Modify **colorConfig.py** file to add a new logo style
|
125
109
|
3. Update **pyhwUtil.py** to enable new logo style.
|
110
|
+
4. You may create a new `PR` to add your logo style to the main repository.
|
126
111
|
|
127
112
|
## 4. Build from source
|
128
113
|
|
@@ -166,3 +151,26 @@ If you have docker installed, you can test this package through docker by type:
|
|
166
151
|
make test # local build
|
167
152
|
make test-pypi # release version
|
168
153
|
```
|
154
|
+
|
155
|
+
## 6. Troubleshooting
|
156
|
+
### 6.1 Important note about debian 12:
|
157
|
+
If you use system pip to install pyhw, you will encounter this problem on debian12 and some related distributions (like Ubuntu 24.04):
|
158
|
+
```text
|
159
|
+
error: externally-managed-environment
|
160
|
+
|
161
|
+
× This environment is externally managed
|
162
|
+
╰─> To install Python packages system-wide, try apt install
|
163
|
+
python3-xyz, where xyz is the package you are trying to
|
164
|
+
install.
|
165
|
+
|
166
|
+
If you wish to install a non-Debian-packaged Python package,
|
167
|
+
create a virtual environment using python3 -m venv path/to/venv.
|
168
|
+
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
|
169
|
+
sure you have python3-full installed.
|
170
|
+
|
171
|
+
For more information visit http://rptl.io/venv
|
172
|
+
|
173
|
+
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
|
174
|
+
hint: See PEP 668 for the detailed specification.
|
175
|
+
```
|
176
|
+
This is due to the fact that system python is not supposed to be managed by pip. You can simply use **pipx** to install **pyhw**. Or you can use a virtual environment (venv), conda environment or force remove this restriction (not recommended).
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PyHw
|
1
|
+
# PyHw, a neofetch-like system information fetching tool
|
2
2
|
[](https://pepy.tech/project/pyhw)
|
3
3
|

|
4
4
|

|
@@ -26,6 +26,12 @@ This project is a Python reimplementation of [neofetch](https://github.com/dylan
|
|
26
26
|

|
27
27
|
|
28
28
|
|
29
|
+
- [1. Install](#1-install)
|
30
|
+
- [2. Usability](#2-usability)
|
31
|
+
- [3. Add Logo](#3-add-logo)
|
32
|
+
- [4. Build from source](#4-build-from-source)
|
33
|
+
- [5. Test Package](#5-test-package)
|
34
|
+
- [6. Troubleshooting](#6-troubleshooting)
|
29
35
|
|
30
36
|
|
31
37
|
## 1. Install
|
@@ -63,34 +69,12 @@ python -m pyhw
|
|
63
69
|
Please note that the command line entry for __pyhw__ is created by pip, and depending on the user, this entry may not in the __system PATH__. If you encounter this problem, pip will give you a prompt, follow the prompts to add entry to the __system PATH__.
|
64
70
|
|
65
71
|
|
66
|
-
### 1.3 Important note about debian 12:
|
67
|
-
If you use system pip to install pyhw, you will encounter this problem on debian12 and some related distributions (like Ubuntu 24.04):
|
68
|
-
```text
|
69
|
-
error: externally-managed-environment
|
70
|
-
|
71
|
-
× This environment is externally managed
|
72
|
-
╰─> To install Python packages system-wide, try apt install
|
73
|
-
python3-xyz, where xyz is the package you are trying to
|
74
|
-
install.
|
75
|
-
|
76
|
-
If you wish to install a non-Debian-packaged Python package,
|
77
|
-
create a virtual environment using python3 -m venv path/to/venv.
|
78
|
-
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
|
79
|
-
sure you have python3-full installed.
|
80
|
-
|
81
|
-
For more information visit http://rptl.io/venv
|
82
|
-
|
83
|
-
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
|
84
|
-
hint: See PEP 668 for the detailed specification.
|
85
|
-
```
|
86
|
-
This is due to the fact that system python is not supposed to be managed by pip. You can simply use **pipx** to install **pyhw**. Or you can use a virtual environment (venv), conda environment or force remove this restriction (not recommended).
|
87
|
-
|
88
72
|
## 2. Usability
|
89
73
|
### Tested Platform
|
90
74
|
The following platforms have been tested and are known to work with this package:
|
91
75
|
* macOS: arm64, x86_64
|
92
|
-
* Linux: arm64, x86_64, riscv64
|
93
|
-
* FreeBSD: arm64
|
76
|
+
* Linux: arm64, x86_64, riscv64, ppc64le, mips64el, s390x
|
77
|
+
* FreeBSD: arm64, x86_64
|
94
78
|
* Windows 10: x86_64
|
95
79
|
* Windows 11: arm64, x86_64
|
96
80
|
|
@@ -105,6 +89,7 @@ The functionality of this package varies slightly on different operating systems
|
|
105
89
|
1. Create a file named **\<os>.pyhw** in **logo/ascii** folder
|
106
90
|
2. Modify **colorConfig.py** file to add a new logo style
|
107
91
|
3. Update **pyhwUtil.py** to enable new logo style.
|
92
|
+
4. You may create a new `PR` to add your logo style to the main repository.
|
108
93
|
|
109
94
|
## 4. Build from source
|
110
95
|
|
@@ -148,3 +133,26 @@ If you have docker installed, you can test this package through docker by type:
|
|
148
133
|
make test # local build
|
149
134
|
make test-pypi # release version
|
150
135
|
```
|
136
|
+
|
137
|
+
## 6. Troubleshooting
|
138
|
+
### 6.1 Important note about debian 12:
|
139
|
+
If you use system pip to install pyhw, you will encounter this problem on debian12 and some related distributions (like Ubuntu 24.04):
|
140
|
+
```text
|
141
|
+
error: externally-managed-environment
|
142
|
+
|
143
|
+
× This environment is externally managed
|
144
|
+
╰─> To install Python packages system-wide, try apt install
|
145
|
+
python3-xyz, where xyz is the package you are trying to
|
146
|
+
install.
|
147
|
+
|
148
|
+
If you wish to install a non-Debian-packaged Python package,
|
149
|
+
create a virtual environment using python3 -m venv path/to/venv.
|
150
|
+
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
|
151
|
+
sure you have python3-full installed.
|
152
|
+
|
153
|
+
For more information visit http://rptl.io/venv
|
154
|
+
|
155
|
+
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
|
156
|
+
hint: See PEP 668 for the detailed specification.
|
157
|
+
```
|
158
|
+
This is due to the fact that system python is not supposed to be managed by pip. You can simply use **pipx** to install **pyhw**. Or you can use a virtual environment (venv), conda environment or force remove this restriction (not recommended).
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "pyhw"
|
7
|
-
version = "0.13.
|
7
|
+
version = "0.13.2"
|
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 = [
|
@@ -17,7 +17,7 @@ readme = "README.md"
|
|
17
17
|
license = "BSD-3-Clause"
|
18
18
|
requires-python = ">=3.9"
|
19
19
|
dependencies = [
|
20
|
-
"pypci-ng>=0.2.
|
20
|
+
"pypci-ng>=0.2.5"
|
21
21
|
]
|
22
22
|
classifiers = [
|
23
23
|
"Development Status :: 4 - Beta",
|
@@ -1,2 +1,2 @@
|
|
1
|
-
__version__ = '0.13.
|
1
|
+
__version__ = '0.13.2'
|
2
2
|
__author__ = 'xiaoran007'
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pyhw
|
3
|
-
Version: 0.13.
|
3
|
+
Version: 0.13.2
|
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>
|
@@ -13,10 +13,10 @@ Classifier: Operating System :: OS Independent
|
|
13
13
|
Requires-Python: >=3.9
|
14
14
|
Description-Content-Type: text/markdown
|
15
15
|
License-File: LICENSE
|
16
|
-
Requires-Dist: pypci-ng>=0.2.
|
16
|
+
Requires-Dist: pypci-ng>=0.2.5
|
17
17
|
Dynamic: license-file
|
18
18
|
|
19
|
-
# PyHw
|
19
|
+
# PyHw, a neofetch-like system information fetching tool
|
20
20
|
[](https://pepy.tech/project/pyhw)
|
21
21
|

|
22
22
|

|
@@ -44,6 +44,12 @@ This project is a Python reimplementation of [neofetch](https://github.com/dylan
|
|
44
44
|

|
45
45
|
|
46
46
|
|
47
|
+
- [1. Install](#1-install)
|
48
|
+
- [2. Usability](#2-usability)
|
49
|
+
- [3. Add Logo](#3-add-logo)
|
50
|
+
- [4. Build from source](#4-build-from-source)
|
51
|
+
- [5. Test Package](#5-test-package)
|
52
|
+
- [6. Troubleshooting](#6-troubleshooting)
|
47
53
|
|
48
54
|
|
49
55
|
## 1. Install
|
@@ -81,34 +87,12 @@ python -m pyhw
|
|
81
87
|
Please note that the command line entry for __pyhw__ is created by pip, and depending on the user, this entry may not in the __system PATH__. If you encounter this problem, pip will give you a prompt, follow the prompts to add entry to the __system PATH__.
|
82
88
|
|
83
89
|
|
84
|
-
### 1.3 Important note about debian 12:
|
85
|
-
If you use system pip to install pyhw, you will encounter this problem on debian12 and some related distributions (like Ubuntu 24.04):
|
86
|
-
```text
|
87
|
-
error: externally-managed-environment
|
88
|
-
|
89
|
-
× This environment is externally managed
|
90
|
-
╰─> To install Python packages system-wide, try apt install
|
91
|
-
python3-xyz, where xyz is the package you are trying to
|
92
|
-
install.
|
93
|
-
|
94
|
-
If you wish to install a non-Debian-packaged Python package,
|
95
|
-
create a virtual environment using python3 -m venv path/to/venv.
|
96
|
-
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
|
97
|
-
sure you have python3-full installed.
|
98
|
-
|
99
|
-
For more information visit http://rptl.io/venv
|
100
|
-
|
101
|
-
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
|
102
|
-
hint: See PEP 668 for the detailed specification.
|
103
|
-
```
|
104
|
-
This is due to the fact that system python is not supposed to be managed by pip. You can simply use **pipx** to install **pyhw**. Or you can use a virtual environment (venv), conda environment or force remove this restriction (not recommended).
|
105
|
-
|
106
90
|
## 2. Usability
|
107
91
|
### Tested Platform
|
108
92
|
The following platforms have been tested and are known to work with this package:
|
109
93
|
* macOS: arm64, x86_64
|
110
|
-
* Linux: arm64, x86_64, riscv64
|
111
|
-
* FreeBSD: arm64
|
94
|
+
* Linux: arm64, x86_64, riscv64, ppc64le, mips64el, s390x
|
95
|
+
* FreeBSD: arm64, x86_64
|
112
96
|
* Windows 10: x86_64
|
113
97
|
* Windows 11: arm64, x86_64
|
114
98
|
|
@@ -123,6 +107,7 @@ The functionality of this package varies slightly on different operating systems
|
|
123
107
|
1. Create a file named **\<os>.pyhw** in **logo/ascii** folder
|
124
108
|
2. Modify **colorConfig.py** file to add a new logo style
|
125
109
|
3. Update **pyhwUtil.py** to enable new logo style.
|
110
|
+
4. You may create a new `PR` to add your logo style to the main repository.
|
126
111
|
|
127
112
|
## 4. Build from source
|
128
113
|
|
@@ -166,3 +151,26 @@ If you have docker installed, you can test this package through docker by type:
|
|
166
151
|
make test # local build
|
167
152
|
make test-pypi # release version
|
168
153
|
```
|
154
|
+
|
155
|
+
## 6. Troubleshooting
|
156
|
+
### 6.1 Important note about debian 12:
|
157
|
+
If you use system pip to install pyhw, you will encounter this problem on debian12 and some related distributions (like Ubuntu 24.04):
|
158
|
+
```text
|
159
|
+
error: externally-managed-environment
|
160
|
+
|
161
|
+
× This environment is externally managed
|
162
|
+
╰─> To install Python packages system-wide, try apt install
|
163
|
+
python3-xyz, where xyz is the package you are trying to
|
164
|
+
install.
|
165
|
+
|
166
|
+
If you wish to install a non-Debian-packaged Python package,
|
167
|
+
create a virtual environment using python3 -m venv path/to/venv.
|
168
|
+
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
|
169
|
+
sure you have python3-full installed.
|
170
|
+
|
171
|
+
For more information visit http://rptl.io/venv
|
172
|
+
|
173
|
+
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
|
174
|
+
hint: See PEP 668 for the detailed specification.
|
175
|
+
```
|
176
|
+
This is due to the fact that system python is not supposed to be managed by pip. You can simply use **pipx** to install **pyhw**. Or you can use a virtual environment (venv), conda environment or force remove this restriction (not recommended).
|
@@ -112,6 +112,7 @@ src/pyhw/frontend/logo/ascii/windows_10.pyhw
|
|
112
112
|
src/pyhw/frontend/logo/ascii/windows_11.pyhw
|
113
113
|
src/pyhw/frontend/logo/ascii/windows_2025.pyhw
|
114
114
|
src/pyhw/frontend/logo/ascii/windows_old.pyhw
|
115
|
+
src/pyhw/library/lib/iokitCPULib.dylib
|
115
116
|
src/pyhw/library/lib/iokitGPULib.dylib
|
116
117
|
src/pyhw/library/lib/iokitHostLib.dylib
|
117
118
|
src/pyhw/library/lib/nvmlGPULib_amd64.so
|
@@ -0,0 +1 @@
|
|
1
|
+
pypci-ng>=0.2.5
|
@@ -1 +0,0 @@
|
|
1
|
-
pypci-ng>=0.2.3
|
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
|
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
|