pyhw 0.12.4__tar.gz → 0.13.0__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.
Files changed (131) hide show
  1. {pyhw-0.12.4/src/pyhw.egg-info → pyhw-0.13.0}/PKG-INFO +20 -12
  2. {pyhw-0.12.4 → pyhw-0.13.0}/README.md +17 -8
  3. {pyhw-0.12.4 → pyhw-0.13.0}/pyproject.toml +3 -4
  4. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/__init__.py +1 -1
  5. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/gpu/linux.py +1 -1
  6. pyhw-0.13.0/src/pyhw/library/lib/iokitGPULib.dylib +0 -0
  7. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/library/lib/iokitHostLib.dylib +0 -0
  8. {pyhw-0.12.4 → pyhw-0.13.0/src/pyhw.egg-info}/PKG-INFO +20 -12
  9. pyhw-0.13.0/src/pyhw.egg-info/requires.txt +1 -0
  10. pyhw-0.12.4/src/pyhw/library/lib/iokitGPULib.dylib +0 -0
  11. pyhw-0.12.4/src/pyhw.egg-info/requires.txt +0 -1
  12. {pyhw-0.12.4 → pyhw-0.13.0}/LICENSE +0 -0
  13. {pyhw-0.12.4 → pyhw-0.13.0}/setup.cfg +0 -0
  14. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/__main__.py +0 -0
  15. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/__init__.py +0 -0
  16. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/backendBase.py +0 -0
  17. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/cpu/__init__.py +0 -0
  18. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/cpu/bsd.py +0 -0
  19. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/cpu/cpuBase.py +0 -0
  20. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/cpu/cpuInfo.py +0 -0
  21. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/cpu/linux.py +0 -0
  22. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/cpu/macos.py +0 -0
  23. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/cpu/windows.py +0 -0
  24. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/gpu/__init__.py +0 -0
  25. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/gpu/bsd.py +0 -0
  26. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/gpu/gpuBase.py +0 -0
  27. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/gpu/gpuInfo.py +0 -0
  28. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/gpu/macos.py +0 -0
  29. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/gpu/windows.py +0 -0
  30. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/host/__init__.py +0 -0
  31. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/host/bsd.py +0 -0
  32. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/host/hostBase.py +0 -0
  33. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/host/hostInfo.py +0 -0
  34. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/host/linux.py +0 -0
  35. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/host/macos.py +0 -0
  36. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/host/windows.py +0 -0
  37. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/kernel/__init__.py +0 -0
  38. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/kernel/kernelBase.py +0 -0
  39. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/kernel/kernelInfo.py +0 -0
  40. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/kernel/unix.py +0 -0
  41. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/kernel/windows.py +0 -0
  42. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/memory/__init__.py +0 -0
  43. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/memory/bsd.py +0 -0
  44. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/memory/linux.py +0 -0
  45. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/memory/macos.py +0 -0
  46. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/memory/memoryBase.py +0 -0
  47. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/memory/memoryInfo.py +0 -0
  48. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/memory/windows.py +0 -0
  49. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/nic/__init__.py +0 -0
  50. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/nic/bsd.py +0 -0
  51. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/nic/linux.py +0 -0
  52. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/nic/macos.py +0 -0
  53. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/nic/nicBase.py +0 -0
  54. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/nic/nicInfo.py +0 -0
  55. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/nic/windows.py +0 -0
  56. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/npu/__init__.py +0 -0
  57. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/npu/bsd.py +0 -0
  58. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/npu/linux.py +0 -0
  59. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/npu/macos.py +0 -0
  60. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/npu/npuBase.py +0 -0
  61. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/npu/npuInfo.py +0 -0
  62. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/npu/windows.py +0 -0
  63. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/os/__init__.py +0 -0
  64. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/os/bsd.py +0 -0
  65. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/os/linux.py +0 -0
  66. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/os/macos.py +0 -0
  67. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/os/osBase.py +0 -0
  68. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/os/osInfo.py +0 -0
  69. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/os/windows.py +0 -0
  70. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/shell/__init__.py +0 -0
  71. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/shell/shellBase.py +0 -0
  72. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/shell/shellInfo.py +0 -0
  73. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/shell/unix.py +0 -0
  74. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/shell/windows.py +0 -0
  75. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/title/__init__.py +0 -0
  76. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/title/titleBase.py +0 -0
  77. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/title/titleInfo.py +0 -0
  78. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/title/unix.py +0 -0
  79. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/title/windows.py +0 -0
  80. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/uptime/__init__.py +0 -0
  81. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/uptime/bsd.py +0 -0
  82. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/uptime/linux.py +0 -0
  83. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/uptime/macos.py +0 -0
  84. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/uptime/uptimeBase.py +0 -0
  85. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/uptime/uptimeInfo.py +0 -0
  86. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/backend/uptime/windows.py +0 -0
  87. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/__init__.py +0 -0
  88. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/color/__init__.py +0 -0
  89. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/color/colorConfig.py +0 -0
  90. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/color/colorSet.py +0 -0
  91. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/color/colorUtil.py +0 -0
  92. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/frontendBase.py +0 -0
  93. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/__init__.py +0 -0
  94. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/alpine.pyhw +0 -0
  95. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/arch.pyhw +0 -0
  96. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/armbian.pyhw +0 -0
  97. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/centos.pyhw +0 -0
  98. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/debian.pyhw +0 -0
  99. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/fedora.pyhw +0 -0
  100. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/fedora_small.pyhw +0 -0
  101. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/freebsd.pyhw +0 -0
  102. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/kali.pyhw +0 -0
  103. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/linux.pyhw +0 -0
  104. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/linuxmint.pyhw +0 -0
  105. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/macOS.pyhw +0 -0
  106. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/opensuse-leap.pyhw +0 -0
  107. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/opensuse-tumbleweed.pyhw +0 -0
  108. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/raspbian.pyhw +0 -0
  109. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/rhel.pyhw +0 -0
  110. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/ubuntu.pyhw +0 -0
  111. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/ubuntu_small.pyhw +0 -0
  112. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/windows_10.pyhw +0 -0
  113. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/windows_11.pyhw +0 -0
  114. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/windows_2025.pyhw +0 -0
  115. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/ascii/windows_old.pyhw +0 -0
  116. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/frontend/logo/logoBase.py +0 -0
  117. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/library/lib/nvmlGPULib_amd64.so +0 -0
  118. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/library/lib/nvmlGPULib_arm64.so +0 -0
  119. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/library/test/iokitHostLibTest.py +0 -0
  120. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/library/test/nvmlGPULibTest.py +0 -0
  121. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/pyhwException/__init__.py +0 -0
  122. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/pyhwException/pyhwException.py +0 -0
  123. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/pyhwUtil/__init__.py +0 -0
  124. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/pyhwUtil/cliUtil.py +0 -0
  125. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/pyhwUtil/pyhwUtil.py +0 -0
  126. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw/pyhwUtil/sysctlUtil.py +0 -0
  127. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw.egg-info/SOURCES.txt +0 -0
  128. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw.egg-info/dependency_links.txt +0 -0
  129. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw.egg-info/entry_points.txt +0 -0
  130. {pyhw-0.12.4 → pyhw-0.13.0}/src/pyhw.egg-info/top_level.txt +0 -0
  131. {pyhw-0.12.4 → pyhw-0.13.0}/test/test_cliUtil.py +0 -0
@@ -1,20 +1,19 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyhw
3
- Version: 0.12.4
3
+ Version: 0.13.0
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>
7
- License: BSD-3-Clause
7
+ License-Expression: BSD-3-Clause
8
8
  Project-URL: homepage, https://github.com/xiaoran007/pyhw
9
9
  Keywords: neofetch,system information,command line tool,python,hardware information,fastfetch,fetching
10
10
  Classifier: Development Status :: 4 - Beta
11
11
  Classifier: Programming Language :: Python :: 3
12
- Classifier: License :: OSI Approved :: BSD License
13
12
  Classifier: Operating System :: OS Independent
14
13
  Requires-Python: >=3.9
15
14
  Description-Content-Type: text/markdown
16
15
  License-File: LICENSE
17
- Requires-Dist: pypci-ng>=0.2.2
16
+ Requires-Dist: pypci-ng>=0.2.3
18
17
  Dynamic: license-file
19
18
 
20
19
  # PyHw
@@ -33,14 +32,16 @@ Dynamic: license-file
33
32
  ![Static Badge](https://img.shields.io/badge/riscv64-%238A2BE2)
34
33
 
35
34
 
36
- 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.**
35
+ PyHw, a neofetch-like command line tool for fetching system information but written mostly in Python.
37
36
 
38
37
  This project is a Python reimplementation of [neofetch](https://github.com/dylanaraps/neofetch) and references the [fastfetch](https://github.com/fastfetch-cli/fastfetch) project for logo style settings. Since this project is implemented in Python, it will be easier to maintain and extend than bash and c implementation. Also, this project only relies on the Python standard library, so you can run it on any device that has a Python environment (I hope so 🤔).
39
38
 
40
39
 
41
40
  [//]: # (![demo]&#40;https://i2.imgs.ovh/d/BQACAgUAAx0EUvSR8wACMvpmyFVohzKxLcUdLiJaEa3wlo_OrQACuw4AAoX-QVaSpG0-rTAeRTUE&#41;)
42
41
  [//]: # (![demo]&#40;https://files.catbox.moe/xx58xy.jpg&#41;)
43
- ![demo](https://files.catbox.moe/2d21fu.jpg)
42
+ [//]: # (![demo]&#40;https://files.catbox.moe/2d21fu.jpg&#41;)
43
+
44
+ ![demo](https://files.catbox.moe/ik4ioi.png)
44
45
 
45
46
 
46
47
 
@@ -102,15 +103,22 @@ hint: See PEP 668 for the detailed specification.
102
103
  ```
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).
104
105
 
105
- ## 2. Tested OS
106
- * macOS arm64, x86_64
107
- * Linux arm64, x86_64, riscv64
108
- * FreeBSD arm64
109
- * Windows 10 x86_64
110
- * Windows 11 arm64, x86_64
106
+ ## 2. Usability
107
+ ### Tested Platform
108
+ The following platforms have been tested and are known to work with this package:
109
+ * macOS: arm64, x86_64
110
+ * Linux: arm64, x86_64, riscv64
111
+ * FreeBSD: arm64
112
+ * Windows 10: x86_64
113
+ * Windows 11: arm64, x86_64
111
114
 
112
115
  For more detailed information, please refer to [Tested Platform](docs/tested_platform.md).
113
116
 
117
+ Please note that this package requires `Python 3.9`, so very old versions of Linux may not be supported.
118
+
119
+ ### Features
120
+ The functionality of this package varies slightly on different operating systems and architectures, please refer to [this](docs/functionality.md) documentation for details.
121
+
114
122
  ## 3. Add Logo
115
123
  1. Create a file named **\<os>.pyhw** in **logo/ascii** folder
116
124
  2. Modify **colorConfig.py** file to add a new logo style
@@ -14,14 +14,16 @@
14
14
  ![Static Badge](https://img.shields.io/badge/riscv64-%238A2BE2)
15
15
 
16
16
 
17
- 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.**
17
+ PyHw, a neofetch-like command line tool for fetching system information but written mostly in Python.
18
18
 
19
19
  This project is a Python reimplementation of [neofetch](https://github.com/dylanaraps/neofetch) and references the [fastfetch](https://github.com/fastfetch-cli/fastfetch) project for logo style settings. Since this project is implemented in Python, it will be easier to maintain and extend than bash and c implementation. Also, this project only relies on the Python standard library, so you can run it on any device that has a Python environment (I hope so 🤔).
20
20
 
21
21
 
22
22
  [//]: # (![demo]&#40;https://i2.imgs.ovh/d/BQACAgUAAx0EUvSR8wACMvpmyFVohzKxLcUdLiJaEa3wlo_OrQACuw4AAoX-QVaSpG0-rTAeRTUE&#41;)
23
23
  [//]: # (![demo]&#40;https://files.catbox.moe/xx58xy.jpg&#41;)
24
- ![demo](https://files.catbox.moe/2d21fu.jpg)
24
+ [//]: # (![demo]&#40;https://files.catbox.moe/2d21fu.jpg&#41;)
25
+
26
+ ![demo](https://files.catbox.moe/ik4ioi.png)
25
27
 
26
28
 
27
29
 
@@ -83,15 +85,22 @@ hint: See PEP 668 for the detailed specification.
83
85
  ```
84
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).
85
87
 
86
- ## 2. Tested OS
87
- * macOS arm64, x86_64
88
- * Linux arm64, x86_64, riscv64
89
- * FreeBSD arm64
90
- * Windows 10 x86_64
91
- * Windows 11 arm64, x86_64
88
+ ## 2. Usability
89
+ ### Tested Platform
90
+ The following platforms have been tested and are known to work with this package:
91
+ * macOS: arm64, x86_64
92
+ * Linux: arm64, x86_64, riscv64
93
+ * FreeBSD: arm64
94
+ * Windows 10: x86_64
95
+ * Windows 11: arm64, x86_64
92
96
 
93
97
  For more detailed information, please refer to [Tested Platform](docs/tested_platform.md).
94
98
 
99
+ Please note that this package requires `Python 3.9`, so very old versions of Linux may not be supported.
100
+
101
+ ### Features
102
+ The functionality of this package varies slightly on different operating systems and architectures, please refer to [this](docs/functionality.md) documentation for details.
103
+
95
104
  ## 3. Add Logo
96
105
  1. Create a file named **\<os>.pyhw** in **logo/ascii** folder
97
106
  2. Modify **colorConfig.py** file to add a new logo style
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pyhw"
7
- version = "0.12.4"
7
+ version = "0.13.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 = [
@@ -14,15 +14,14 @@ maintainers = [
14
14
  {name = "Xiao Ran", email="xiaoran.007@icloud.com"},
15
15
  ]
16
16
  readme = "README.md"
17
- license = {text = "BSD-3-Clause"}
17
+ license = "BSD-3-Clause"
18
18
  requires-python = ">=3.9"
19
19
  dependencies = [
20
- "pypci-ng>=0.2.2"
20
+ "pypci-ng>=0.2.3"
21
21
  ]
22
22
  classifiers = [
23
23
  "Development Status :: 4 - Beta",
24
24
  "Programming Language :: Python :: 3",
25
- "License :: OSI Approved :: BSD License",
26
25
  "Operating System :: OS Independent"
27
26
  ]
28
27
  urls = {homepage = "https://github.com/xiaoran007/pyhw"}
@@ -1,2 +1,2 @@
1
- __version__ = '0.12.4'
1
+ __version__ = '0.13.0'
2
2
  __author__ = 'xiaoran007'
@@ -51,7 +51,7 @@ class GPUDetectLinux:
51
51
  cores = lib.GetGPUCoreCountByPciBusId(f'00000000:{device.bus}'.encode())
52
52
  return cores
53
53
  except Exception as e:
54
- print(f"An error occurred while getting GPU info using nvml: {e}")
54
+ # print(f"An error occurred while getting GPU info using nvml: {e}")
55
55
  return 0
56
56
 
57
57
  def __handleNonePciDevices(self):
@@ -1,20 +1,19 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyhw
3
- Version: 0.12.4
3
+ Version: 0.13.0
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>
7
- License: BSD-3-Clause
7
+ License-Expression: BSD-3-Clause
8
8
  Project-URL: homepage, https://github.com/xiaoran007/pyhw
9
9
  Keywords: neofetch,system information,command line tool,python,hardware information,fastfetch,fetching
10
10
  Classifier: Development Status :: 4 - Beta
11
11
  Classifier: Programming Language :: Python :: 3
12
- Classifier: License :: OSI Approved :: BSD License
13
12
  Classifier: Operating System :: OS Independent
14
13
  Requires-Python: >=3.9
15
14
  Description-Content-Type: text/markdown
16
15
  License-File: LICENSE
17
- Requires-Dist: pypci-ng>=0.2.2
16
+ Requires-Dist: pypci-ng>=0.2.3
18
17
  Dynamic: license-file
19
18
 
20
19
  # PyHw
@@ -33,14 +32,16 @@ Dynamic: license-file
33
32
  ![Static Badge](https://img.shields.io/badge/riscv64-%238A2BE2)
34
33
 
35
34
 
36
- 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.**
35
+ PyHw, a neofetch-like command line tool for fetching system information but written mostly in Python.
37
36
 
38
37
  This project is a Python reimplementation of [neofetch](https://github.com/dylanaraps/neofetch) and references the [fastfetch](https://github.com/fastfetch-cli/fastfetch) project for logo style settings. Since this project is implemented in Python, it will be easier to maintain and extend than bash and c implementation. Also, this project only relies on the Python standard library, so you can run it on any device that has a Python environment (I hope so 🤔).
39
38
 
40
39
 
41
40
  [//]: # (![demo]&#40;https://i2.imgs.ovh/d/BQACAgUAAx0EUvSR8wACMvpmyFVohzKxLcUdLiJaEa3wlo_OrQACuw4AAoX-QVaSpG0-rTAeRTUE&#41;)
42
41
  [//]: # (![demo]&#40;https://files.catbox.moe/xx58xy.jpg&#41;)
43
- ![demo](https://files.catbox.moe/2d21fu.jpg)
42
+ [//]: # (![demo]&#40;https://files.catbox.moe/2d21fu.jpg&#41;)
43
+
44
+ ![demo](https://files.catbox.moe/ik4ioi.png)
44
45
 
45
46
 
46
47
 
@@ -102,15 +103,22 @@ hint: See PEP 668 for the detailed specification.
102
103
  ```
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).
104
105
 
105
- ## 2. Tested OS
106
- * macOS arm64, x86_64
107
- * Linux arm64, x86_64, riscv64
108
- * FreeBSD arm64
109
- * Windows 10 x86_64
110
- * Windows 11 arm64, x86_64
106
+ ## 2. Usability
107
+ ### Tested Platform
108
+ The following platforms have been tested and are known to work with this package:
109
+ * macOS: arm64, x86_64
110
+ * Linux: arm64, x86_64, riscv64
111
+ * FreeBSD: arm64
112
+ * Windows 10: x86_64
113
+ * Windows 11: arm64, x86_64
111
114
 
112
115
  For more detailed information, please refer to [Tested Platform](docs/tested_platform.md).
113
116
 
117
+ Please note that this package requires `Python 3.9`, so very old versions of Linux may not be supported.
118
+
119
+ ### Features
120
+ The functionality of this package varies slightly on different operating systems and architectures, please refer to [this](docs/functionality.md) documentation for details.
121
+
114
122
  ## 3. Add Logo
115
123
  1. Create a file named **\<os>.pyhw** in **logo/ascii** folder
116
124
  2. Modify **colorConfig.py** file to add a new logo style
@@ -0,0 +1 @@
1
+ pypci-ng>=0.2.3
@@ -1 +0,0 @@
1
- pypci-ng>=0.2.2
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