pyhw 0.6.2__tar.gz → 0.6.3__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pyhw-0.6.2/src/pyhw.egg-info → pyhw-0.6.3}/PKG-INFO +11 -2
- {pyhw-0.6.2 → pyhw-0.6.3}/README.md +9 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/pyproject.toml +2 -2
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/host/macos.py +3 -1
- {pyhw-0.6.2 → pyhw-0.6.3/src/pyhw.egg-info}/PKG-INFO +11 -2
- pyhw-0.6.3/src/pyhw.egg-info/requires.txt +1 -0
- pyhw-0.6.2/src/pyhw.egg-info/requires.txt +0 -1
- {pyhw-0.6.2 → pyhw-0.6.3}/LICENSE +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/setup.cfg +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/__main__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/backendBase.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/cpu/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/cpu/cpuBase.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/cpu/cpuInfo.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/cpu/linux.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/cpu/macos.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/gpu/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/gpu/gpuBase.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/gpu/gpuInfo.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/gpu/linux.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/gpu/macos.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/host/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/host/hostBase.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/host/hostInfo.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/host/linux.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/host/windows.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/kernel/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/kernel/kernelBase.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/kernel/kernelInfo.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/kernel/unix.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/kernel/windows.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/memory/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/memory/linux.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/memory/macos.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/memory/memoryBase.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/memory/memoryInfo.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/metal/t.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/nic/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/nic/linux.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/nic/macos.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/nic/nicBase.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/nic/nicInfo.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/npu/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/npu/linux.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/npu/macos.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/npu/npuBase.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/npu/npuInfo.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/os/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/os/linux.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/os/macos.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/os/osBase.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/os/osInfo.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/shell/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/shell/shellBase.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/shell/unix.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/title/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/title/titleBase.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/title/unix.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/title/windows.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/uptime/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/uptime/linux.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/uptime/macos.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/uptime/uptimeBase.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/backend/uptime/uptimeInfo.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/color/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/color/colorConfig.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/color/colorSet.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/color/colorUtil.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/frontendBase.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/logo/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/logo/ascii/alpine.pyhw +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/logo/ascii/arch.pyhw +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/logo/ascii/armbian.pyhw +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/logo/ascii/centos.pyhw +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/logo/ascii/debian.pyhw +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/logo/ascii/fedora.pyhw +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/logo/ascii/fedora_small.pyhw +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/logo/ascii/linux.pyhw +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/logo/ascii/macOS.pyhw +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/logo/ascii/raspbian.pyhw +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/logo/ascii/ubuntu.pyhw +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/logo/ascii/ubuntu_small.pyhw +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/frontend/logo/logoBase.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/library/lib/iokitGPULib.dylib +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/macos.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/pyhwException/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/pyhwException/pyhwException.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/pyhwUtil/__init__.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/pyhwUtil/pyhwUtil.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw/pyhwUtil/sysctlUtil.py +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw.egg-info/SOURCES.txt +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw.egg-info/dependency_links.txt +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw.egg-info/entry_points.txt +0 -0
- {pyhw-0.6.2 → pyhw-0.6.3}/src/pyhw.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyhw
|
3
|
-
Version: 0.6.
|
3
|
+
Version: 0.6.3
|
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
|
@@ -13,7 +13,7 @@ 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.0.
|
16
|
+
Requires-Dist: pypci-ng>=0.0.8
|
17
17
|
|
18
18
|
# PyHw
|
19
19
|
[](https://pepy.tech/project/pyhw)
|
@@ -83,6 +83,10 @@ This is due to the fact that system python is not supposed to be managed by pip.
|
|
83
83
|
|
84
84
|
## Build from source
|
85
85
|
Currently, build process relay on swiftc and macOS IOKit framework. To build package from source, you need a mac machine with macOS 11 and newer.
|
86
|
+
|
87
|
+
### Dependencies
|
88
|
+
This package was originally implemented in pure python and only depends on the python standard library. However, in subsequent development, the code for the pci part was separated into a separate package **pypci-ng**, which can be obtained using pip (or check out [this](https://github.com/xiaoran007/pypci) GitHub repository).
|
89
|
+
|
86
90
|
### Build tools
|
87
91
|
Make sure the following Python build tools are already installed.
|
88
92
|
* setuptools
|
@@ -98,3 +102,8 @@ After the build process, the source package and the binary whl package can be fo
|
|
98
102
|
```shell
|
99
103
|
pip install dist/*.whl --force-reinstall
|
100
104
|
```
|
105
|
+
Or simply type:
|
106
|
+
```shell
|
107
|
+
make build
|
108
|
+
make install
|
109
|
+
```
|
@@ -66,6 +66,10 @@ This is due to the fact that system python is not supposed to be managed by pip.
|
|
66
66
|
|
67
67
|
## Build from source
|
68
68
|
Currently, build process relay on swiftc and macOS IOKit framework. To build package from source, you need a mac machine with macOS 11 and newer.
|
69
|
+
|
70
|
+
### Dependencies
|
71
|
+
This package was originally implemented in pure python and only depends on the python standard library. However, in subsequent development, the code for the pci part was separated into a separate package **pypci-ng**, which can be obtained using pip (or check out [this](https://github.com/xiaoran007/pypci) GitHub repository).
|
72
|
+
|
69
73
|
### Build tools
|
70
74
|
Make sure the following Python build tools are already installed.
|
71
75
|
* setuptools
|
@@ -81,3 +85,8 @@ After the build process, the source package and the binary whl package can be fo
|
|
81
85
|
```shell
|
82
86
|
pip install dist/*.whl --force-reinstall
|
83
87
|
```
|
88
|
+
Or simply type:
|
89
|
+
```shell
|
90
|
+
make build
|
91
|
+
make install
|
92
|
+
```
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "pyhw"
|
7
|
-
version = "0.6.
|
7
|
+
version = "0.6.3"
|
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,7 +14,7 @@ readme = "README.md"
|
|
14
14
|
license = {text = "BSD-3-Clause"}
|
15
15
|
requires-python = ">=3.9"
|
16
16
|
dependencies = [
|
17
|
-
"pypci-ng>=0.0.
|
17
|
+
"pypci-ng>=0.0.8"
|
18
18
|
]
|
19
19
|
classifiers = [
|
20
20
|
"Development Status :: 4 - Beta",
|
@@ -172,6 +172,8 @@ class HostDetectMacOS:
|
|
172
172
|
|
173
173
|
elif hw_model.startswith("Mac"):
|
174
174
|
version = hw_model[len("Mac"):]
|
175
|
+
if self.__hwModelCheck(version, "16,10"):
|
176
|
+
return "Mac mini (M4, 2024)"
|
175
177
|
if self.__hwModelCheck(version, "15,13"):
|
176
178
|
return "MacBook Air (15-inch, M3, 2024)"
|
177
179
|
if self.__hwModelCheck(version, "15,2"):
|
@@ -262,7 +264,7 @@ class HostDetectMacOS:
|
|
262
264
|
if self.__hwModelCheck(version, "9,1"):
|
263
265
|
return "iMac (24/20-inch, Early 2009)"
|
264
266
|
|
265
|
-
return
|
267
|
+
return hw_model
|
266
268
|
|
267
269
|
@staticmethod
|
268
270
|
def __hwModelCheck(version: str, target: str):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyhw
|
3
|
-
Version: 0.6.
|
3
|
+
Version: 0.6.3
|
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
|
@@ -13,7 +13,7 @@ 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.0.
|
16
|
+
Requires-Dist: pypci-ng>=0.0.8
|
17
17
|
|
18
18
|
# PyHw
|
19
19
|
[](https://pepy.tech/project/pyhw)
|
@@ -83,6 +83,10 @@ This is due to the fact that system python is not supposed to be managed by pip.
|
|
83
83
|
|
84
84
|
## Build from source
|
85
85
|
Currently, build process relay on swiftc and macOS IOKit framework. To build package from source, you need a mac machine with macOS 11 and newer.
|
86
|
+
|
87
|
+
### Dependencies
|
88
|
+
This package was originally implemented in pure python and only depends on the python standard library. However, in subsequent development, the code for the pci part was separated into a separate package **pypci-ng**, which can be obtained using pip (or check out [this](https://github.com/xiaoran007/pypci) GitHub repository).
|
89
|
+
|
86
90
|
### Build tools
|
87
91
|
Make sure the following Python build tools are already installed.
|
88
92
|
* setuptools
|
@@ -98,3 +102,8 @@ After the build process, the source package and the binary whl package can be fo
|
|
98
102
|
```shell
|
99
103
|
pip install dist/*.whl --force-reinstall
|
100
104
|
```
|
105
|
+
Or simply type:
|
106
|
+
```shell
|
107
|
+
make build
|
108
|
+
make install
|
109
|
+
```
|
@@ -0,0 +1 @@
|
|
1
|
+
pypci-ng>=0.0.8
|
@@ -1 +0,0 @@
|
|
1
|
-
pypci-ng>=0.0.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
|