sysnexa 0.1.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 (44) hide show
  1. sysnexa-0.1.0/LICENSE +0 -0
  2. sysnexa-0.1.0/PKG-INFO +232 -0
  3. sysnexa-0.1.0/README.md +178 -0
  4. sysnexa-0.1.0/pyproject.toml +329 -0
  5. sysnexa-0.1.0/setup.cfg +4 -0
  6. sysnexa-0.1.0/src/sysnexa/__init__.py +6 -0
  7. sysnexa-0.1.0/src/sysnexa/analyzer/__init__.py +0 -0
  8. sysnexa-0.1.0/src/sysnexa/analyzer/hardware.py +38 -0
  9. sysnexa-0.1.0/src/sysnexa/analyzer/performance.py +104 -0
  10. sysnexa-0.1.0/src/sysnexa/analyzer/trends.py +108 -0
  11. sysnexa-0.1.0/src/sysnexa/cli/__init__.py +0 -0
  12. sysnexa-0.1.0/src/sysnexa/cli/main.py +587 -0
  13. sysnexa-0.1.0/src/sysnexa/core/__init__.py +0 -0
  14. sysnexa-0.1.0/src/sysnexa/core/diagnostics.py +136 -0
  15. sysnexa-0.1.0/src/sysnexa/core/history.py +95 -0
  16. sysnexa-0.1.0/src/sysnexa/exporters/__init__.py +0 -0
  17. sysnexa-0.1.0/src/sysnexa/exporters/report.py +238 -0
  18. sysnexa-0.1.0/src/sysnexa/monitor/__init__.py +0 -0
  19. sysnexa-0.1.0/src/sysnexa/monitor/cpu.py +39 -0
  20. sysnexa-0.1.0/src/sysnexa/monitor/disk.py +44 -0
  21. sysnexa-0.1.0/src/sysnexa/monitor/network.py +53 -0
  22. sysnexa-0.1.0/src/sysnexa/monitor/process.py +65 -0
  23. sysnexa-0.1.0/src/sysnexa/monitor/ram.py +34 -0
  24. sysnexa-0.1.0/src/sysnexa/py.typed +0 -0
  25. sysnexa-0.1.0/src/sysnexa/utils/__init__.py +0 -0
  26. sysnexa-0.1.0/src/sysnexa.egg-info/PKG-INFO +232 -0
  27. sysnexa-0.1.0/src/sysnexa.egg-info/SOURCES.txt +42 -0
  28. sysnexa-0.1.0/src/sysnexa.egg-info/dependency_links.txt +1 -0
  29. sysnexa-0.1.0/src/sysnexa.egg-info/entry_points.txt +2 -0
  30. sysnexa-0.1.0/src/sysnexa.egg-info/requires.txt +32 -0
  31. sysnexa-0.1.0/src/sysnexa.egg-info/top_level.txt +1 -0
  32. sysnexa-0.1.0/tests/test_cli.py +510 -0
  33. sysnexa-0.1.0/tests/test_cpu.py +29 -0
  34. sysnexa-0.1.0/tests/test_diagnostics.py +186 -0
  35. sysnexa-0.1.0/tests/test_disk.py +27 -0
  36. sysnexa-0.1.0/tests/test_export_cli.py +65 -0
  37. sysnexa-0.1.0/tests/test_exporter.py +125 -0
  38. sysnexa-0.1.0/tests/test_hardware.py +84 -0
  39. sysnexa-0.1.0/tests/test_history.py +84 -0
  40. sysnexa-0.1.0/tests/test_network.py +49 -0
  41. sysnexa-0.1.0/tests/test_performance.py +117 -0
  42. sysnexa-0.1.0/tests/test_process.py +131 -0
  43. sysnexa-0.1.0/tests/test_ram.py +27 -0
  44. sysnexa-0.1.0/tests/test_trends.py +98 -0
sysnexa-0.1.0/LICENSE ADDED
File without changes
sysnexa-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,232 @@
1
+ Metadata-Version: 2.4
2
+ Name: sysnexa
3
+ Version: 0.1.0
4
+ Summary: An advanced Python system monitoring, diagnostics, and performance analysis package.
5
+ Author: Eden Simamora
6
+ Maintainer: Eden Simamora
7
+ License-Expression: MIT
8
+ Keywords: sysnexa,python,system-monitoring,system-diagnostics,performance-analysis,performance-monitoring,cpu-monitoring,memory-monitoring,ram-monitoring,disk-monitoring,network-monitoring,process-monitoring,hardware-analysis,system-information,resource-monitoring,performance-history,performance-trends,system-health,cli,analytics
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Environment :: Console
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Intended Audience :: System Administrators
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3 :: Only
17
+ Classifier: Topic :: System :: Monitoring
18
+ Classifier: Topic :: System :: Systems Administration
19
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.13
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Requires-Dist: psutil>=6.1.0
25
+ Requires-Dist: rich>=13.9.0
26
+ Requires-Dist: typer>=0.15.0
27
+ Requires-Dist: pydantic>=2.10.0
28
+ Requires-Dist: platformdirs>=4.3.0
29
+ Requires-Dist: PyYAML>=6.0.2
30
+ Requires-Dist: httpx>=0.28.0
31
+ Requires-Dist: matplotlib>=3.10.0
32
+ Requires-Dist: plotly>=6.0.0
33
+ Requires-Dist: pandas>=2.2.0
34
+ Requires-Dist: numpy>=2.2.0
35
+ Requires-Dist: jinja2>=3.1.5
36
+ Requires-Dist: orjson>=3.10.0
37
+ Requires-Dist: loguru>=0.7.3
38
+ Requires-Dist: humanize>=4.11.0
39
+ Requires-Dist: tabulate>=0.9.0
40
+ Requires-Dist: colorama>=0.4.6
41
+ Requires-Dist: watchdog>=6.0.0
42
+ Provides-Extra: dev
43
+ Requires-Dist: pytest>=8.3.0; extra == "dev"
44
+ Requires-Dist: pytest-cov>=6.0.0; extra == "dev"
45
+ Requires-Dist: mypy>=1.14.0; extra == "dev"
46
+ Requires-Dist: ruff>=0.9.0; extra == "dev"
47
+ Requires-Dist: build>=1.2.2; extra == "dev"
48
+ Requires-Dist: twine>=6.0.0; extra == "dev"
49
+ Provides-Extra: visualization
50
+ Requires-Dist: seaborn>=0.13.2; extra == "visualization"
51
+ Provides-Extra: all
52
+ Requires-Dist: seaborn>=0.13.2; extra == "all"
53
+ Dynamic: license-file
54
+
55
+ # Sysnexa
56
+
57
+ **A powerful system monitoring, diagnostics, and performance analysis package for Python.**
58
+
59
+ Sysnexa is a Python package and command-line application designed to help developers inspect system resources, monitor performance, diagnose potential issues, analyze performance trends, and generate detailed system reports.
60
+
61
+ ## Features
62
+
63
+ - **CPU Monitoring** — Inspect CPU usage and processor information.
64
+ - **Memory Monitoring** — Track RAM and swap memory usage.
65
+ - **Disk Monitoring** — Inspect disk partitions, capacity, and utilization.
66
+ - **Network Monitoring** — View network statistics and interface information.
67
+ - **Process Monitoring** — Inspect running processes and resource consumption.
68
+ - **Hardware Analysis** — Collect information about system hardware.
69
+ - **System Diagnostics** — Analyze system conditions and identify potential issues.
70
+ - **Performance Analysis** — Evaluate system performance metrics.
71
+ - **Performance History** — Store and inspect historical performance records.
72
+ - **Trend Analysis** — Analyze performance trends and generate charts.
73
+ - **Report Generation** — Generate system reports in HTML, JSON, and CSV formats.
74
+ - **Command-Line Interface** — Interact with Sysnexa through a Rich-powered CLI.
75
+
76
+ ## Requirements
77
+
78
+ - Python 3.13 or newer
79
+ - Windows, Linux, or macOS
80
+
81
+ ## Installation
82
+
83
+ Install Sysnexa using pip:
84
+
85
+ ```bash
86
+ python -m pip install sysnexa
87
+ ```
88
+
89
+ ## Quick Start
90
+
91
+ Check whether the Sysnexa CLI is working:
92
+
93
+ ```bash
94
+ sysnexa hello
95
+ ```
96
+
97
+ Display available commands:
98
+
99
+ ```bash
100
+ sysnexa --help
101
+ ```
102
+
103
+ Display application information:
104
+
105
+ ```bash
106
+ sysnexa info
107
+ ```
108
+
109
+ ## Command-Line Usage
110
+
111
+ Sysnexa provides commands for inspecting and analyzing your system.
112
+
113
+ ### System Monitoring
114
+
115
+ ```bash
116
+ sysnexa cpu
117
+ sysnexa ram
118
+ sysnexa disk
119
+ sysnexa network
120
+ sysnexa process
121
+ ```
122
+
123
+ ### System Analysis
124
+
125
+ ```bash
126
+ sysnexa hardware
127
+ sysnexa diagnostics
128
+ sysnexa performance
129
+ ```
130
+
131
+ ### Performance History and Trends
132
+
133
+ ```bash
134
+ sysnexa history
135
+ sysnexa trend
136
+ ```
137
+
138
+ ### Reports
139
+
140
+ ```bash
141
+ sysnexa report
142
+ ```
143
+
144
+ ### Command Help
145
+
146
+ Use `--help` with any command to see its available options:
147
+
148
+ ```bash
149
+ sysnexa trend --help
150
+ sysnexa report --help
151
+ ```
152
+
153
+ ## Development Setup
154
+
155
+ Download or obtain the Sysnexa source code and navigate to the project directory.
156
+
157
+ Create a virtual environment:
158
+
159
+ ```powershell
160
+ python -m venv .venv
161
+ ```
162
+
163
+ Activate it on Windows PowerShell:
164
+
165
+ ```powershell
166
+ .\.venv\Scripts\Activate.ps1
167
+ ```
168
+
169
+ Install the development dependencies:
170
+
171
+ ```bash
172
+ python -m pip install -e ".[dev]"
173
+ ```
174
+
175
+ ## Running Tests
176
+
177
+ Run the test suite:
178
+
179
+ ```bash
180
+ pytest -v
181
+ ```
182
+
183
+ Run tests with coverage:
184
+
185
+ ```bash
186
+ pytest --cov=sysnexa --cov-report=term-missing
187
+ ```
188
+
189
+ ## Code Quality
190
+
191
+ Sysnexa uses Ruff for linting and Mypy for static type checking.
192
+
193
+ Run Ruff:
194
+
195
+ ```bash
196
+ ruff check .
197
+ ```
198
+
199
+ Run Mypy:
200
+
201
+ ```bash
202
+ mypy src
203
+ ```
204
+
205
+ ## Project Structure
206
+
207
+ ```text
208
+ Sysnexa/
209
+ ├── src/
210
+ │ └── sysnexa/
211
+ │ ├── analyzer/
212
+ │ ├── cli/
213
+ │ ├── core/
214
+ │ ├── exporters/
215
+ │ ├── monitor/
216
+ │ └── utils/
217
+ ├── tests/
218
+ ├── LICENSE
219
+ ├── README.md
220
+ ├── CHANGELOG.md
221
+ ├── CONTRIBUTING.md
222
+ ├── SECURITY.md
223
+ └── pyproject.toml
224
+ ```
225
+
226
+ ## License
227
+
228
+ Sysnexa is distributed under the MIT License. See [LICENSE](LICENSE) for more information.
229
+
230
+ ## Author
231
+
232
+ **Eden Simamora**
@@ -0,0 +1,178 @@
1
+ # Sysnexa
2
+
3
+ **A powerful system monitoring, diagnostics, and performance analysis package for Python.**
4
+
5
+ Sysnexa is a Python package and command-line application designed to help developers inspect system resources, monitor performance, diagnose potential issues, analyze performance trends, and generate detailed system reports.
6
+
7
+ ## Features
8
+
9
+ - **CPU Monitoring** — Inspect CPU usage and processor information.
10
+ - **Memory Monitoring** — Track RAM and swap memory usage.
11
+ - **Disk Monitoring** — Inspect disk partitions, capacity, and utilization.
12
+ - **Network Monitoring** — View network statistics and interface information.
13
+ - **Process Monitoring** — Inspect running processes and resource consumption.
14
+ - **Hardware Analysis** — Collect information about system hardware.
15
+ - **System Diagnostics** — Analyze system conditions and identify potential issues.
16
+ - **Performance Analysis** — Evaluate system performance metrics.
17
+ - **Performance History** — Store and inspect historical performance records.
18
+ - **Trend Analysis** — Analyze performance trends and generate charts.
19
+ - **Report Generation** — Generate system reports in HTML, JSON, and CSV formats.
20
+ - **Command-Line Interface** — Interact with Sysnexa through a Rich-powered CLI.
21
+
22
+ ## Requirements
23
+
24
+ - Python 3.13 or newer
25
+ - Windows, Linux, or macOS
26
+
27
+ ## Installation
28
+
29
+ Install Sysnexa using pip:
30
+
31
+ ```bash
32
+ python -m pip install sysnexa
33
+ ```
34
+
35
+ ## Quick Start
36
+
37
+ Check whether the Sysnexa CLI is working:
38
+
39
+ ```bash
40
+ sysnexa hello
41
+ ```
42
+
43
+ Display available commands:
44
+
45
+ ```bash
46
+ sysnexa --help
47
+ ```
48
+
49
+ Display application information:
50
+
51
+ ```bash
52
+ sysnexa info
53
+ ```
54
+
55
+ ## Command-Line Usage
56
+
57
+ Sysnexa provides commands for inspecting and analyzing your system.
58
+
59
+ ### System Monitoring
60
+
61
+ ```bash
62
+ sysnexa cpu
63
+ sysnexa ram
64
+ sysnexa disk
65
+ sysnexa network
66
+ sysnexa process
67
+ ```
68
+
69
+ ### System Analysis
70
+
71
+ ```bash
72
+ sysnexa hardware
73
+ sysnexa diagnostics
74
+ sysnexa performance
75
+ ```
76
+
77
+ ### Performance History and Trends
78
+
79
+ ```bash
80
+ sysnexa history
81
+ sysnexa trend
82
+ ```
83
+
84
+ ### Reports
85
+
86
+ ```bash
87
+ sysnexa report
88
+ ```
89
+
90
+ ### Command Help
91
+
92
+ Use `--help` with any command to see its available options:
93
+
94
+ ```bash
95
+ sysnexa trend --help
96
+ sysnexa report --help
97
+ ```
98
+
99
+ ## Development Setup
100
+
101
+ Download or obtain the Sysnexa source code and navigate to the project directory.
102
+
103
+ Create a virtual environment:
104
+
105
+ ```powershell
106
+ python -m venv .venv
107
+ ```
108
+
109
+ Activate it on Windows PowerShell:
110
+
111
+ ```powershell
112
+ .\.venv\Scripts\Activate.ps1
113
+ ```
114
+
115
+ Install the development dependencies:
116
+
117
+ ```bash
118
+ python -m pip install -e ".[dev]"
119
+ ```
120
+
121
+ ## Running Tests
122
+
123
+ Run the test suite:
124
+
125
+ ```bash
126
+ pytest -v
127
+ ```
128
+
129
+ Run tests with coverage:
130
+
131
+ ```bash
132
+ pytest --cov=sysnexa --cov-report=term-missing
133
+ ```
134
+
135
+ ## Code Quality
136
+
137
+ Sysnexa uses Ruff for linting and Mypy for static type checking.
138
+
139
+ Run Ruff:
140
+
141
+ ```bash
142
+ ruff check .
143
+ ```
144
+
145
+ Run Mypy:
146
+
147
+ ```bash
148
+ mypy src
149
+ ```
150
+
151
+ ## Project Structure
152
+
153
+ ```text
154
+ Sysnexa/
155
+ ├── src/
156
+ │ └── sysnexa/
157
+ │ ├── analyzer/
158
+ │ ├── cli/
159
+ │ ├── core/
160
+ │ ├── exporters/
161
+ │ ├── monitor/
162
+ │ └── utils/
163
+ ├── tests/
164
+ ├── LICENSE
165
+ ├── README.md
166
+ ├── CHANGELOG.md
167
+ ├── CONTRIBUTING.md
168
+ ├── SECURITY.md
169
+ └── pyproject.toml
170
+ ```
171
+
172
+ ## License
173
+
174
+ Sysnexa is distributed under the MIT License. See [LICENSE](LICENSE) for more information.
175
+
176
+ ## Author
177
+
178
+ **Eden Simamora**