cpu-loader 0.4.3__tar.gz → 0.4.7__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 (27) hide show
  1. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/MANIFEST.in +1 -0
  2. {cpu_loader-0.4.3/src/cpu_loader.egg-info → cpu_loader-0.4.7}/PKG-INFO +17 -37
  3. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/README.md +10 -8
  4. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/pyproject.toml +11 -9
  5. cpu_loader-0.4.7/screenshots/01-initial-view.png +0 -0
  6. cpu_loader-0.4.7/screenshots/02-with-load.png +0 -0
  7. cpu_loader-0.4.7/screenshots/03-live-metrics.png +0 -0
  8. cpu_loader-0.4.7/screenshots/04-mobile-view.png +0 -0
  9. {cpu_loader-0.4.3 → cpu_loader-0.4.7/src/cpu_loader.egg-info}/PKG-INFO +17 -37
  10. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/src/cpu_loader.egg-info/SOURCES.txt +4 -0
  11. cpu_loader-0.4.7/src/cpu_loader.egg-info/requires.txt +7 -0
  12. cpu_loader-0.4.3/src/cpu_loader.egg-info/requires.txt +0 -7
  13. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/LICENSE +0 -0
  14. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/setup.cfg +0 -0
  15. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/setup.py +0 -0
  16. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/src/cpu_loader/__init__.py +0 -0
  17. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/src/cpu_loader/__main__.py +0 -0
  18. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/src/cpu_loader/cpu_loader.py +0 -0
  19. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/src/cpu_loader/cpu_loader_core.c +0 -0
  20. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/src/cpu_loader/example.py +0 -0
  21. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/src/cpu_loader/main.py +0 -0
  22. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/src/cpu_loader/mqtt_publisher.py +0 -0
  23. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/src/cpu_loader/static/favicon.svg +0 -0
  24. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/src/cpu_loader/templates/index.html +0 -0
  25. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/src/cpu_loader.egg-info/dependency_links.txt +0 -0
  26. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/src/cpu_loader.egg-info/entry_points.txt +0 -0
  27. {cpu_loader-0.4.3 → cpu_loader-0.4.7}/src/cpu_loader.egg-info/top_level.txt +0 -0
@@ -3,3 +3,4 @@ include LICENSE
3
3
  include pyproject.toml
4
4
  include setup.py
5
5
  recursive-include src *.py *.c *.h *.html
6
+ recursive-include screenshots *.png *.jpg *.jpeg *.gif *.svg
@@ -1,30 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cpu-loader
3
- Version: 0.4.3
3
+ Version: 0.4.7
4
4
  Summary: A tool to generate CPU load on a system with runtime configuration through a WebUI and REST API
5
5
  Author-email: the78mole <the78mole@users.noreply.github.com>
6
- License: MIT License
7
-
8
- Copyright (c) 2025 the78mole
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
-
6
+ License-Expression: MIT
28
7
  Project-URL: Homepage, https://github.com/the78mole/cpu-loader
29
8
  Project-URL: Repository, https://github.com/the78mole/cpu-loader
30
9
  Project-URL: Issues, https://github.com/the78mole/cpu-loader/issues
@@ -36,7 +15,6 @@ Classifier: Intended Audience :: System Administrators
36
15
  Classifier: Operating System :: POSIX :: Linux
37
16
  Classifier: Operating System :: MacOS
38
17
  Classifier: Programming Language :: Python :: 3
39
- Classifier: Programming Language :: Python :: 3.8
40
18
  Classifier: Programming Language :: Python :: 3.9
41
19
  Classifier: Programming Language :: Python :: 3.10
42
20
  Classifier: Programming Language :: Python :: 3.11
@@ -44,13 +22,13 @@ Classifier: Programming Language :: Python :: 3.12
44
22
  Classifier: Programming Language :: C
45
23
  Classifier: Topic :: System :: Benchmark
46
24
  Classifier: Topic :: System :: Monitoring
47
- Requires-Python: >=3.8
25
+ Requires-Python: >=3.9
48
26
  Description-Content-Type: text/markdown
49
27
  License-File: LICENSE
50
- Requires-Dist: fastapi==0.115.0
51
- Requires-Dist: uvicorn[standard]==0.32.0
52
- Requires-Dist: pydantic==2.10.0
53
- Requires-Dist: requests==2.32.3
28
+ Requires-Dist: fastapi==0.121.3
29
+ Requires-Dist: uvicorn[standard]==0.38.0
30
+ Requires-Dist: pydantic==2.12.4
31
+ Requires-Dist: requests==2.32.5
54
32
  Requires-Dist: psutil>=5.9.0
55
33
  Requires-Dist: websockets>=12.0
56
34
  Requires-Dist: paho-mqtt>=2.1.0
@@ -78,27 +56,29 @@ A tool to generate CPU load on a system with runtime configuration through a Web
78
56
 
79
57
  ## 🖼️ Screenshots
80
58
 
81
- ### Desktop Interface
59
+ ### Interface Screenshots
82
60
  <table>
83
61
  <tr>
84
62
  <td width="50%">
85
- <img src="screenshots/01-initial-view.png" alt="Initial view with zero load">
63
+ <img src="https://raw.githubusercontent.com/the78mole/cpu-loader/main/screenshots/01-initial-view.png" alt="Initial view with zero load">
86
64
  <p align="center"><em>Clean interface showing all CPU threads at idle</em></p>
87
65
  </td>
66
+ <td width="50%" rowspan="3" valign="top">
67
+ <img src="https://raw.githubusercontent.com/the78mole/cpu-loader/main/screenshots/04-mobile-view.png" alt="Mobile responsive view">
68
+ <p align="center"><em>Fully responsive mobile interface</em></p>
69
+ </td>
70
+ </tr>
71
+ <tr>
88
72
  <td width="50%">
89
- <img src="screenshots/02-with-load.png" alt="Mixed load across threads">
73
+ <img src="https://raw.githubusercontent.com/the78mole/cpu-loader/main/screenshots/02-with-load.png" alt="Mixed load across threads">
90
74
  <p align="center"><em>Different load levels: 50%, 75%, and 25% on individual threads</em></p>
91
75
  </td>
92
76
  </tr>
93
77
  <tr>
94
78
  <td width="50%">
95
- <img src="screenshots/03-live-metrics.png" alt="Live CPU metrics updating">
79
+ <img src="https://raw.githubusercontent.com/the78mole/cpu-loader/main/screenshots/03-live-metrics.png" alt="Live CPU metrics updating">
96
80
  <p align="center"><em>Real-time metrics showing actual CPU usage with color-coded bars</em></p>
97
81
  </td>
98
- <td width="50%">
99
- <img src="screenshots/04-mobile-view.png" alt="Mobile responsive view">
100
- <p align="center"><em>Fully responsive mobile interface</em></p>
101
- </td>
102
82
  </tr>
103
83
  </table>
104
84
 
@@ -20,27 +20,29 @@ A tool to generate CPU load on a system with runtime configuration through a Web
20
20
 
21
21
  ## 🖼️ Screenshots
22
22
 
23
- ### Desktop Interface
23
+ ### Interface Screenshots
24
24
  <table>
25
25
  <tr>
26
26
  <td width="50%">
27
- <img src="screenshots/01-initial-view.png" alt="Initial view with zero load">
27
+ <img src="https://raw.githubusercontent.com/the78mole/cpu-loader/main/screenshots/01-initial-view.png" alt="Initial view with zero load">
28
28
  <p align="center"><em>Clean interface showing all CPU threads at idle</em></p>
29
29
  </td>
30
+ <td width="50%" rowspan="3" valign="top">
31
+ <img src="https://raw.githubusercontent.com/the78mole/cpu-loader/main/screenshots/04-mobile-view.png" alt="Mobile responsive view">
32
+ <p align="center"><em>Fully responsive mobile interface</em></p>
33
+ </td>
34
+ </tr>
35
+ <tr>
30
36
  <td width="50%">
31
- <img src="screenshots/02-with-load.png" alt="Mixed load across threads">
37
+ <img src="https://raw.githubusercontent.com/the78mole/cpu-loader/main/screenshots/02-with-load.png" alt="Mixed load across threads">
32
38
  <p align="center"><em>Different load levels: 50%, 75%, and 25% on individual threads</em></p>
33
39
  </td>
34
40
  </tr>
35
41
  <tr>
36
42
  <td width="50%">
37
- <img src="screenshots/03-live-metrics.png" alt="Live CPU metrics updating">
43
+ <img src="https://raw.githubusercontent.com/the78mole/cpu-loader/main/screenshots/03-live-metrics.png" alt="Live CPU metrics updating">
38
44
  <p align="center"><em>Real-time metrics showing actual CPU usage with color-coded bars</em></p>
39
45
  </td>
40
- <td width="50%">
41
- <img src="screenshots/04-mobile-view.png" alt="Mobile responsive view">
42
- <p align="center"><em>Fully responsive mobile interface</em></p>
43
- </td>
44
46
  </tr>
45
47
  </table>
46
48
 
@@ -1,10 +1,10 @@
1
1
  [project]
2
2
  name = "cpu-loader"
3
- version = "0.4.3"
3
+ version = "0.4.7"
4
4
  description = "A tool to generate CPU load on a system with runtime configuration through a WebUI and REST API"
5
5
  readme = "README.md"
6
- requires-python = ">=3.8"
7
- license = {file = "LICENSE"}
6
+ requires-python = ">=3.9"
7
+ license = "MIT"
8
8
  authors = [
9
9
  {name = "the78mole", email = "the78mole@users.noreply.github.com"}
10
10
  ]
@@ -16,7 +16,6 @@ classifiers = [
16
16
  "Operating System :: POSIX :: Linux",
17
17
  "Operating System :: MacOS",
18
18
  "Programming Language :: Python :: 3",
19
- "Programming Language :: Python :: 3.8",
20
19
  "Programming Language :: Python :: 3.9",
21
20
  "Programming Language :: Python :: 3.10",
22
21
  "Programming Language :: Python :: 3.11",
@@ -26,10 +25,10 @@ classifiers = [
26
25
  "Topic :: System :: Monitoring",
27
26
  ]
28
27
  dependencies = [
29
- "fastapi==0.115.0",
30
- "uvicorn[standard]==0.32.0",
31
- "pydantic==2.10.0",
32
- "requests==2.32.3",
28
+ "fastapi==0.121.3",
29
+ "uvicorn[standard]==0.38.0",
30
+ "pydantic==2.12.4",
31
+ "requests==2.32.5",
33
32
  "psutil>=5.9.0",
34
33
  "websockets>=12.0",
35
34
  "paho-mqtt>=2.1.0",
@@ -50,7 +49,10 @@ build-backend = "setuptools.build_meta"
50
49
 
51
50
  [tool.setuptools]
52
51
  package-dir = {"" = "src"}
53
- packages = ["cpu_loader"]
52
+
53
+ [tool.setuptools.packages.find]
54
+ where = ["src"]
55
+ include = ["cpu_loader*"]
54
56
 
55
57
  [tool.setuptools.package-data]
56
58
  cpu_loader = ["templates/*.html", "static/*", "*.c"]
@@ -1,30 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cpu-loader
3
- Version: 0.4.3
3
+ Version: 0.4.7
4
4
  Summary: A tool to generate CPU load on a system with runtime configuration through a WebUI and REST API
5
5
  Author-email: the78mole <the78mole@users.noreply.github.com>
6
- License: MIT License
7
-
8
- Copyright (c) 2025 the78mole
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
-
6
+ License-Expression: MIT
28
7
  Project-URL: Homepage, https://github.com/the78mole/cpu-loader
29
8
  Project-URL: Repository, https://github.com/the78mole/cpu-loader
30
9
  Project-URL: Issues, https://github.com/the78mole/cpu-loader/issues
@@ -36,7 +15,6 @@ Classifier: Intended Audience :: System Administrators
36
15
  Classifier: Operating System :: POSIX :: Linux
37
16
  Classifier: Operating System :: MacOS
38
17
  Classifier: Programming Language :: Python :: 3
39
- Classifier: Programming Language :: Python :: 3.8
40
18
  Classifier: Programming Language :: Python :: 3.9
41
19
  Classifier: Programming Language :: Python :: 3.10
42
20
  Classifier: Programming Language :: Python :: 3.11
@@ -44,13 +22,13 @@ Classifier: Programming Language :: Python :: 3.12
44
22
  Classifier: Programming Language :: C
45
23
  Classifier: Topic :: System :: Benchmark
46
24
  Classifier: Topic :: System :: Monitoring
47
- Requires-Python: >=3.8
25
+ Requires-Python: >=3.9
48
26
  Description-Content-Type: text/markdown
49
27
  License-File: LICENSE
50
- Requires-Dist: fastapi==0.115.0
51
- Requires-Dist: uvicorn[standard]==0.32.0
52
- Requires-Dist: pydantic==2.10.0
53
- Requires-Dist: requests==2.32.3
28
+ Requires-Dist: fastapi==0.121.3
29
+ Requires-Dist: uvicorn[standard]==0.38.0
30
+ Requires-Dist: pydantic==2.12.4
31
+ Requires-Dist: requests==2.32.5
54
32
  Requires-Dist: psutil>=5.9.0
55
33
  Requires-Dist: websockets>=12.0
56
34
  Requires-Dist: paho-mqtt>=2.1.0
@@ -78,27 +56,29 @@ A tool to generate CPU load on a system with runtime configuration through a Web
78
56
 
79
57
  ## 🖼️ Screenshots
80
58
 
81
- ### Desktop Interface
59
+ ### Interface Screenshots
82
60
  <table>
83
61
  <tr>
84
62
  <td width="50%">
85
- <img src="screenshots/01-initial-view.png" alt="Initial view with zero load">
63
+ <img src="https://raw.githubusercontent.com/the78mole/cpu-loader/main/screenshots/01-initial-view.png" alt="Initial view with zero load">
86
64
  <p align="center"><em>Clean interface showing all CPU threads at idle</em></p>
87
65
  </td>
66
+ <td width="50%" rowspan="3" valign="top">
67
+ <img src="https://raw.githubusercontent.com/the78mole/cpu-loader/main/screenshots/04-mobile-view.png" alt="Mobile responsive view">
68
+ <p align="center"><em>Fully responsive mobile interface</em></p>
69
+ </td>
70
+ </tr>
71
+ <tr>
88
72
  <td width="50%">
89
- <img src="screenshots/02-with-load.png" alt="Mixed load across threads">
73
+ <img src="https://raw.githubusercontent.com/the78mole/cpu-loader/main/screenshots/02-with-load.png" alt="Mixed load across threads">
90
74
  <p align="center"><em>Different load levels: 50%, 75%, and 25% on individual threads</em></p>
91
75
  </td>
92
76
  </tr>
93
77
  <tr>
94
78
  <td width="50%">
95
- <img src="screenshots/03-live-metrics.png" alt="Live CPU metrics updating">
79
+ <img src="https://raw.githubusercontent.com/the78mole/cpu-loader/main/screenshots/03-live-metrics.png" alt="Live CPU metrics updating">
96
80
  <p align="center"><em>Real-time metrics showing actual CPU usage with color-coded bars</em></p>
97
81
  </td>
98
- <td width="50%">
99
- <img src="screenshots/04-mobile-view.png" alt="Mobile responsive view">
100
- <p align="center"><em>Fully responsive mobile interface</em></p>
101
- </td>
102
82
  </tr>
103
83
  </table>
104
84
 
@@ -3,6 +3,10 @@ MANIFEST.in
3
3
  README.md
4
4
  pyproject.toml
5
5
  setup.py
6
+ screenshots/01-initial-view.png
7
+ screenshots/02-with-load.png
8
+ screenshots/03-live-metrics.png
9
+ screenshots/04-mobile-view.png
6
10
  src/cpu_loader/__init__.py
7
11
  src/cpu_loader/__main__.py
8
12
  src/cpu_loader/cpu_loader.py
@@ -0,0 +1,7 @@
1
+ fastapi==0.121.3
2
+ uvicorn[standard]==0.38.0
3
+ pydantic==2.12.4
4
+ requests==2.32.5
5
+ psutil>=5.9.0
6
+ websockets>=12.0
7
+ paho-mqtt>=2.1.0
@@ -1,7 +0,0 @@
1
- fastapi==0.115.0
2
- uvicorn[standard]==0.32.0
3
- pydantic==2.10.0
4
- requests==2.32.3
5
- psutil>=5.9.0
6
- websockets>=12.0
7
- paho-mqtt>=2.1.0
File without changes
File without changes
File without changes