pyhw 0.2.2b0__py3-none-any.whl → 0.3.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
pyhw/backend/cpu/linux.py CHANGED
@@ -69,7 +69,7 @@ class CPUDetectLinux:
69
69
  if os.path.exists("/sys/firmware/devicetree/base/model"):
70
70
  try:
71
71
  with open("/sys/firmware/devicetree/base/model", "r") as f:
72
- model = f.read().strip()
72
+ model = f.read().strip().replace("\x00", "")
73
73
  except FileNotFoundError:
74
74
  model = ""
75
75
  if "Raspberry Pi" in model:
@@ -1,23 +1,10 @@
1
- $2`.::///+:/-. --///+//-:`
2
- `+oooooooooooo: `+oooooooooooo:
3
- /oooo++//ooooo: ooooo+//+ooooo.
4
- `+ooooooo:-:oo- +o+::/ooooooo:
5
- `:oooooooo+`` `.oooooooo+-
6
- `:++ooo/. :+ooo+/.`$1
7
- ...` `.----.` ``..
8
- .::::-``:::::::::.`-:::-`
9
- -:::-` .:::::::-` `-:::-
10
- `::. `.--.` `` `.---.``.::`
11
- .::::::::` -::::::::` `
12
- .::` .:::::::::- `::::::::::``::.
13
- -:::` ::::::::::. ::::::::::.`:::-
14
- :::: -::::::::. `-:::::::: ::::
15
- -::- .-:::-.``....``.-::-. -::-
16
- .. `` .::::::::. `..`..
17
- -:::-` -::::::::::` .:::::`
18
- :::::::` -::::::::::` :::::::.
19
- .::::::: -::::::::. ::::::::
20
- `-:::::` ..--.` ::::::.
21
- `...` `...--..` `...`
22
- .::::::::::
23
- `.-::::-`
1
+ $2.~~. .~~.
2
+ '. \ ' ' / .'$1
3
+ .~ .~~~..~.
4
+ : .~.'~'.~. :
5
+ ~ ( ) ( ) ~
6
+ ( : '~'.~.'~' : )
7
+ ~ .~ ( ) ~. ~
8
+ ( : '~' : )
9
+ '~ .~~~. ~'
10
+ '~'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyhw
3
- Version: 0.2.2b0
3
+ Version: 0.3.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
@@ -6,7 +6,7 @@ pyhw/backend/backendBase.py,sha256=t9FKQPdK7yFZF0vrsXpjIUJNKrB-cXYeL5MDohlgguA,4
6
6
  pyhw/backend/cpu/__init__.py,sha256=5YfANJVRwNwTRodG0ENOgusrdN592aaSnfq5ok4dKTo,56
7
7
  pyhw/backend/cpu/cpuBase.py,sha256=AGWqVjdvb82NiH4kxk3GERdBLwBNhkR23j2ei_l3S18,464
8
8
  pyhw/backend/cpu/cpuInfo.py,sha256=A_nNGElq9W7oZ5DFJowLdFBE0ZvXKr5h29E6TGAvbRc,251
9
- pyhw/backend/cpu/linux.py,sha256=9TA74SIc72DoCvYI7QkxEcWqUjV7whpF68envpX6T_4,3424
9
+ pyhw/backend/cpu/linux.py,sha256=xJNvGzKPZJ0KFtSHtf_cH8gU2TtxjfeUAIOyA4hu4T4,3444
10
10
  pyhw/backend/cpu/macos.py,sha256=mnnH9ABiBgAiyA8-H9_tq2PC5OeneVLj67nMGoLDXh4,2873
11
11
  pyhw/backend/gpu/__init__.py,sha256=EpMjPvUaXt0LTNMvGmB8WgXbUB9keCxuOhu8NT3Re6o,56
12
12
  pyhw/backend/gpu/gpuBase.py,sha256=Ge0DX2P8_EB7ovM7glmPUnVsPJL3OUHV2t_1T5mimR0,409
@@ -61,7 +61,7 @@ pyhw/frontend/logo/ascii/fedora.pyhw,sha256=IuFE6BByaNfVgn1pn7rKH7QVlIJyEmgGopCA
61
61
  pyhw/frontend/logo/ascii/fedora_small.pyhw,sha256=_LSBzuCJjMa8pzmiJ3KN7Ndi-TryYPmtEfKqxxPAFfE,601
62
62
  pyhw/frontend/logo/ascii/linux.pyhw,sha256=IMe6YNElwCjLtv6kgSkERbATyyJAK531vcrT-otaLWE,300
63
63
  pyhw/frontend/logo/ascii/macOS.pyhw,sha256=HBGROtBb7wrNtRqAQ9ND7zxK0l17BRsmpgc2dMo_m6s,474
64
- pyhw/frontend/logo/ascii/raspbian.pyhw,sha256=DLxiMzxBbO6siqSrw7bPGAoUonpvMkgGttwNW3eKDXE,751
64
+ pyhw/frontend/logo/ascii/raspbian.pyhw,sha256=jEl6WMKF-FGx359ipQ1kzweUJS-NuauYQCFaYime4PQ,159
65
65
  pyhw/frontend/logo/ascii/ubuntu.pyhw,sha256=l-Q0PfutxXYMwTojqeiM88063x4V0RBkZUHmi6YdsNc,833
66
66
  pyhw/frontend/logo/ascii/ubuntu_small.pyhw,sha256=Xf8LSZdZUu9aEG3efhb1FUlUEuJ-3UztcIOJISpKhPw,229
67
67
  pyhw/pyhwException/__init__.py,sha256=8JsFvtF13g0Y5t4z9fRndDXtfCzuBM59jDf6PhWSFSk,220
@@ -69,9 +69,9 @@ pyhw/pyhwException/pyhwException.py,sha256=wxuzFQa9g7XB1q9TUKO_55lw7wMEJMpzG8w1G
69
69
  pyhw/pyhwUtil/__init__.py,sha256=PzeP9fXsIhvr3sUpJ4DxW9_H25DEIasBFfXd_NztfR4,226
70
70
  pyhw/pyhwUtil/pyhwUtil.py,sha256=qJREsuPU_lq7T0Ictc-_BkGEp0Zh24Ptq8aklkEe6GY,2292
71
71
  pyhw/pyhwUtil/sysctlUtil.py,sha256=S-rUvqi7ZrMyMouIhxlyHEQ4agM7sCT1Y7uzs3Hu5-o,841
72
- pyhw-0.2.2b0.dist-info/LICENSE,sha256=hJs6RBqSVCexbTsalkMLNFI5t06kekQEsSVaOt_-yLs,1497
73
- pyhw-0.2.2b0.dist-info/METADATA,sha256=xoVEbweXqieXzY2vPLXYbeI7s1vValbhJROFTWlaSfw,3914
74
- pyhw-0.2.2b0.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
75
- pyhw-0.2.2b0.dist-info/entry_points.txt,sha256=q-AB8im_QahpmNrmy4aPTJRGi0LlbNlnI3kF7s6pKss,44
76
- pyhw-0.2.2b0.dist-info/top_level.txt,sha256=7Inxvxt1TngEricKZEex9_WJZS3DbKYFUXDz4v5WHYU,5
77
- pyhw-0.2.2b0.dist-info/RECORD,,
72
+ pyhw-0.3.0.dist-info/LICENSE,sha256=hJs6RBqSVCexbTsalkMLNFI5t06kekQEsSVaOt_-yLs,1497
73
+ pyhw-0.3.0.dist-info/METADATA,sha256=IJxN41TogfxBGB62qnBjbNFgxvplQ887tB2EkCQ5NLg,3912
74
+ pyhw-0.3.0.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
75
+ pyhw-0.3.0.dist-info/entry_points.txt,sha256=q-AB8im_QahpmNrmy4aPTJRGi0LlbNlnI3kF7s6pKss,44
76
+ pyhw-0.3.0.dist-info/top_level.txt,sha256=7Inxvxt1TngEricKZEex9_WJZS3DbKYFUXDz4v5WHYU,5
77
+ pyhw-0.3.0.dist-info/RECORD,,
File without changes
File without changes