cpu-loader 0.0.2__tar.gz → 0.0.3__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.
- {cpu_loader-0.0.2/src/cpu_loader.egg-info → cpu_loader-0.0.3}/PKG-INFO +44 -23
- {cpu_loader-0.0.2 → cpu_loader-0.0.3}/README.md +43 -22
- {cpu_loader-0.0.2 → cpu_loader-0.0.3}/pyproject.toml +1 -1
- {cpu_loader-0.0.2 → cpu_loader-0.0.3/src/cpu_loader.egg-info}/PKG-INFO +44 -23
- {cpu_loader-0.0.2 → cpu_loader-0.0.3}/src/main.py +1 -1
- {cpu_loader-0.0.2 → cpu_loader-0.0.3}/LICENSE +0 -0
- {cpu_loader-0.0.2 → cpu_loader-0.0.3}/MANIFEST.in +0 -0
- {cpu_loader-0.0.2 → cpu_loader-0.0.3}/setup.cfg +0 -0
- {cpu_loader-0.0.2 → cpu_loader-0.0.3}/setup.py +0 -0
- {cpu_loader-0.0.2 → cpu_loader-0.0.3}/src/cpu_loader.egg-info/SOURCES.txt +0 -0
- {cpu_loader-0.0.2 → cpu_loader-0.0.3}/src/cpu_loader.egg-info/dependency_links.txt +0 -0
- {cpu_loader-0.0.2 → cpu_loader-0.0.3}/src/cpu_loader.egg-info/entry_points.txt +0 -0
- {cpu_loader-0.0.2 → cpu_loader-0.0.3}/src/cpu_loader.egg-info/requires.txt +0 -0
- {cpu_loader-0.0.2 → cpu_loader-0.0.3}/src/cpu_loader.egg-info/top_level.txt +0 -0
- {cpu_loader-0.0.2 → cpu_loader-0.0.3}/src/cpu_loader.py +0 -0
- {cpu_loader-0.0.2 → cpu_loader-0.0.3}/src/cpu_loader_core.c +0 -0
- {cpu_loader-0.0.2 → cpu_loader-0.0.3}/src/example.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cpu-loader
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
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
6
|
License: MIT
|
|
@@ -42,28 +42,49 @@ Dynamic: license-file
|
|
|
42
42
|
[](https://pypi.org/project/cpu-loader/)
|
|
43
43
|
[](https://github.com/the78mole/cpu-loader/blob/main/LICENSE)
|
|
44
44
|
|
|
45
|
-
A
|
|
46
|
-
|
|
47
|
-
## Features
|
|
48
|
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
45
|
+
A high-performance CPU load generator with **per-thread control** through an intuitive WebUI and REST API. Built with a native C extension using pthreads for accurate, nanosecond-precision load generation.
|
|
46
|
+
|
|
47
|
+
## ✨ Key Features
|
|
48
|
+
|
|
49
|
+
- **🎯 Precise Per-Thread Control**: Set individual CPU load (0-100%) for each core independently
|
|
50
|
+
- **⚡ High Performance**: Native C implementation with pthreads ensures accurate load generation
|
|
51
|
+
- **📊 Real-Time Monitoring**: Live WebSocket updates showing actual CPU usage via `psutil`
|
|
52
|
+
- **🎛️ Interactive WebUI**: Beautiful gradient interface with sliders and visual feedback
|
|
53
|
+
- **🚀 REST API**: Complete programmatic control for automation and testing
|
|
54
|
+
- **📱 Responsive Design**: Works seamlessly on desktop and mobile devices
|
|
55
|
+
- **🔄 Instant Updates**: Changes take effect immediately with sub-second response time
|
|
56
|
+
|
|
57
|
+
## 🖼️ Screenshots
|
|
58
|
+
|
|
59
|
+
### Desktop Interface
|
|
60
|
+
<table>
|
|
61
|
+
<tr>
|
|
62
|
+
<td width="50%">
|
|
63
|
+
<img src="screenshots/01-initial-view.png" alt="Initial view with zero load">
|
|
64
|
+
<p align="center"><em>Clean interface showing all CPU threads at idle</em></p>
|
|
65
|
+
</td>
|
|
66
|
+
<td width="50%">
|
|
67
|
+
<img src="screenshots/02-with-load.png" alt="Mixed load across threads">
|
|
68
|
+
<p align="center"><em>Different load levels: 50%, 75%, and 25% on individual threads</em></p>
|
|
69
|
+
</td>
|
|
70
|
+
</tr>
|
|
71
|
+
<tr>
|
|
72
|
+
<td width="50%">
|
|
73
|
+
<img src="screenshots/03-live-metrics.png" alt="Live CPU metrics updating">
|
|
74
|
+
<p align="center"><em>Real-time metrics showing actual CPU usage with color-coded bars</em></p>
|
|
75
|
+
</td>
|
|
76
|
+
<td width="50%">
|
|
77
|
+
<img src="screenshots/04-mobile-view.png" alt="Mobile responsive view">
|
|
78
|
+
<p align="center"><em>Fully responsive mobile interface</em></p>
|
|
79
|
+
</td>
|
|
80
|
+
</tr>
|
|
81
|
+
</table>
|
|
82
|
+
|
|
83
|
+
### Features Shown
|
|
84
|
+
- **Visual Load Bars**: Green progress bars show target load, blue bars display actual CPU usage
|
|
85
|
+
- **Real-Time Updates**: WebSocket connection provides live metrics every second
|
|
86
|
+
- **Preset Buttons**: Quick-set options (0%, 25%, 50%, 75%, 100%) for all threads
|
|
87
|
+
- **Smooth Gradients**: Modern UI with purple-to-blue gradient design
|
|
67
88
|
|
|
68
89
|
## Installation
|
|
69
90
|
|
|
@@ -5,28 +5,49 @@
|
|
|
5
5
|
[](https://pypi.org/project/cpu-loader/)
|
|
6
6
|
[](https://github.com/the78mole/cpu-loader/blob/main/LICENSE)
|
|
7
7
|
|
|
8
|
-
A
|
|
9
|
-
|
|
10
|
-
## Features
|
|
11
|
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
8
|
+
A high-performance CPU load generator with **per-thread control** through an intuitive WebUI and REST API. Built with a native C extension using pthreads for accurate, nanosecond-precision load generation.
|
|
9
|
+
|
|
10
|
+
## ✨ Key Features
|
|
11
|
+
|
|
12
|
+
- **🎯 Precise Per-Thread Control**: Set individual CPU load (0-100%) for each core independently
|
|
13
|
+
- **⚡ High Performance**: Native C implementation with pthreads ensures accurate load generation
|
|
14
|
+
- **📊 Real-Time Monitoring**: Live WebSocket updates showing actual CPU usage via `psutil`
|
|
15
|
+
- **🎛️ Interactive WebUI**: Beautiful gradient interface with sliders and visual feedback
|
|
16
|
+
- **🚀 REST API**: Complete programmatic control for automation and testing
|
|
17
|
+
- **📱 Responsive Design**: Works seamlessly on desktop and mobile devices
|
|
18
|
+
- **🔄 Instant Updates**: Changes take effect immediately with sub-second response time
|
|
19
|
+
|
|
20
|
+
## 🖼️ Screenshots
|
|
21
|
+
|
|
22
|
+
### Desktop Interface
|
|
23
|
+
<table>
|
|
24
|
+
<tr>
|
|
25
|
+
<td width="50%">
|
|
26
|
+
<img src="screenshots/01-initial-view.png" alt="Initial view with zero load">
|
|
27
|
+
<p align="center"><em>Clean interface showing all CPU threads at idle</em></p>
|
|
28
|
+
</td>
|
|
29
|
+
<td width="50%">
|
|
30
|
+
<img src="screenshots/02-with-load.png" alt="Mixed load across threads">
|
|
31
|
+
<p align="center"><em>Different load levels: 50%, 75%, and 25% on individual threads</em></p>
|
|
32
|
+
</td>
|
|
33
|
+
</tr>
|
|
34
|
+
<tr>
|
|
35
|
+
<td width="50%">
|
|
36
|
+
<img src="screenshots/03-live-metrics.png" alt="Live CPU metrics updating">
|
|
37
|
+
<p align="center"><em>Real-time metrics showing actual CPU usage with color-coded bars</em></p>
|
|
38
|
+
</td>
|
|
39
|
+
<td width="50%">
|
|
40
|
+
<img src="screenshots/04-mobile-view.png" alt="Mobile responsive view">
|
|
41
|
+
<p align="center"><em>Fully responsive mobile interface</em></p>
|
|
42
|
+
</td>
|
|
43
|
+
</tr>
|
|
44
|
+
</table>
|
|
45
|
+
|
|
46
|
+
### Features Shown
|
|
47
|
+
- **Visual Load Bars**: Green progress bars show target load, blue bars display actual CPU usage
|
|
48
|
+
- **Real-Time Updates**: WebSocket connection provides live metrics every second
|
|
49
|
+
- **Preset Buttons**: Quick-set options (0%, 25%, 50%, 75%, 100%) for all threads
|
|
50
|
+
- **Smooth Gradients**: Modern UI with purple-to-blue gradient design
|
|
30
51
|
|
|
31
52
|
## Installation
|
|
32
53
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cpu-loader
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
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
6
|
License: MIT
|
|
@@ -42,28 +42,49 @@ Dynamic: license-file
|
|
|
42
42
|
[](https://pypi.org/project/cpu-loader/)
|
|
43
43
|
[](https://github.com/the78mole/cpu-loader/blob/main/LICENSE)
|
|
44
44
|
|
|
45
|
-
A
|
|
46
|
-
|
|
47
|
-
## Features
|
|
48
|
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
45
|
+
A high-performance CPU load generator with **per-thread control** through an intuitive WebUI and REST API. Built with a native C extension using pthreads for accurate, nanosecond-precision load generation.
|
|
46
|
+
|
|
47
|
+
## ✨ Key Features
|
|
48
|
+
|
|
49
|
+
- **🎯 Precise Per-Thread Control**: Set individual CPU load (0-100%) for each core independently
|
|
50
|
+
- **⚡ High Performance**: Native C implementation with pthreads ensures accurate load generation
|
|
51
|
+
- **📊 Real-Time Monitoring**: Live WebSocket updates showing actual CPU usage via `psutil`
|
|
52
|
+
- **🎛️ Interactive WebUI**: Beautiful gradient interface with sliders and visual feedback
|
|
53
|
+
- **🚀 REST API**: Complete programmatic control for automation and testing
|
|
54
|
+
- **📱 Responsive Design**: Works seamlessly on desktop and mobile devices
|
|
55
|
+
- **🔄 Instant Updates**: Changes take effect immediately with sub-second response time
|
|
56
|
+
|
|
57
|
+
## 🖼️ Screenshots
|
|
58
|
+
|
|
59
|
+
### Desktop Interface
|
|
60
|
+
<table>
|
|
61
|
+
<tr>
|
|
62
|
+
<td width="50%">
|
|
63
|
+
<img src="screenshots/01-initial-view.png" alt="Initial view with zero load">
|
|
64
|
+
<p align="center"><em>Clean interface showing all CPU threads at idle</em></p>
|
|
65
|
+
</td>
|
|
66
|
+
<td width="50%">
|
|
67
|
+
<img src="screenshots/02-with-load.png" alt="Mixed load across threads">
|
|
68
|
+
<p align="center"><em>Different load levels: 50%, 75%, and 25% on individual threads</em></p>
|
|
69
|
+
</td>
|
|
70
|
+
</tr>
|
|
71
|
+
<tr>
|
|
72
|
+
<td width="50%">
|
|
73
|
+
<img src="screenshots/03-live-metrics.png" alt="Live CPU metrics updating">
|
|
74
|
+
<p align="center"><em>Real-time metrics showing actual CPU usage with color-coded bars</em></p>
|
|
75
|
+
</td>
|
|
76
|
+
<td width="50%">
|
|
77
|
+
<img src="screenshots/04-mobile-view.png" alt="Mobile responsive view">
|
|
78
|
+
<p align="center"><em>Fully responsive mobile interface</em></p>
|
|
79
|
+
</td>
|
|
80
|
+
</tr>
|
|
81
|
+
</table>
|
|
82
|
+
|
|
83
|
+
### Features Shown
|
|
84
|
+
- **Visual Load Bars**: Green progress bars show target load, blue bars display actual CPU usage
|
|
85
|
+
- **Real-Time Updates**: WebSocket connection provides live metrics every second
|
|
86
|
+
- **Preset Buttons**: Quick-set options (0%, 25%, 50%, 75%, 100%) for all threads
|
|
87
|
+
- **Smooth Gradients**: Modern UI with purple-to-blue gradient design
|
|
67
88
|
|
|
68
89
|
## Installation
|
|
69
90
|
|
|
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
|