pythonoscmd 26.0.0__tar.gz → 27__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.
pythonoscmd-27/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025-2026 Ahmed Sayyed
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,256 @@
1
+ Metadata-Version: 2.4
2
+ Name: pythonoscmd
3
+ Version: 27
4
+ Summary: pythonOS — Unified Terminal Operating System with 500+ TUI tools, system monitoring, security tools, media capabilities, and more.
5
+ Author: Ahmed Sayyed
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/ahmedsayyed/pythonoscmd
8
+ Project-URL: Repository, https://github.com/ahmedsayyed/pythonoscmd
9
+ Keywords: terminal,tui,cli,operating-system,pythonos,system-monitor
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Environment :: Console
12
+ Classifier: Environment :: Console :: Curses
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Intended Audience :: System Administrators
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Operating System :: POSIX :: Linux
17
+ Classifier: Operating System :: MacOS
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Topic :: System :: Monitoring
26
+ Classifier: Topic :: System :: Systems Administration
27
+ Classifier: Topic :: Utilities
28
+ Requires-Python: >=3.9
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE
31
+ Requires-Dist: requests>=2.28
32
+ Requires-Dist: beautifulsoup4>=4.11
33
+ Requires-Dist: psutil>=5.9
34
+ Provides-Extra: full
35
+ Requires-Dist: requests>=2.28; extra == "full"
36
+ Requires-Dist: beautifulsoup4>=4.11; extra == "full"
37
+ Requires-Dist: psutil>=5.9; extra == "full"
38
+ Requires-Dist: Pillow>=9.0; extra == "full"
39
+ Requires-Dist: rich>=13.0; extra == "full"
40
+ Requires-Dist: textual>=0.40; extra == "full"
41
+ Requires-Dist: pygments>=2.14; extra == "full"
42
+ Requires-Dist: numpy>=1.24; extra == "full"
43
+ Provides-Extra: minimal
44
+ Requires-Dist: requests>=2.28; extra == "minimal"
45
+ Requires-Dist: beautifulsoup4>=4.11; extra == "minimal"
46
+ Dynamic: license-file
47
+
48
+ # pythonOScmd
49
+
50
+ **A Unified Terminal Operating System** — 54,000+ lines of Python powering a fully self-contained TUI with 500+ tools for system monitoring, security, media, AI analytics, and more.
51
+
52
+ ```
53
+ ╔══════════════════════════════════════════════════════════╗
54
+ ║ pythonOScmd — Terminal OS v27 ║
55
+ ║ "Where code and creativity intertwine" ║
56
+ ╚══════════════════════════════════════════════════════════╝
57
+ ```
58
+
59
+ ## Features
60
+
61
+ ### System Monitoring & Diagnostics
62
+ - Real-time CPU, memory, disk, and thermal sensor readouts
63
+ - Hardware diagnostics with visual bar graphs
64
+ - Autonomous system optimizer and efficiency indexing
65
+ - Deep Probe AI analytics
66
+
67
+ ### Network & Connectivity
68
+ - WiFi toolkit and Bluetooth scanning
69
+ - Network diagnostics and connectivity tools
70
+ - Remote web dashboard
71
+ - Server/client bridge
72
+
73
+ ### Security & Penetration Testing
74
+ - Penetration testing toolkit
75
+ - Defence and protection systems
76
+ - Security scanning and auditing
77
+
78
+ ### Media & Entertainment
79
+ - Full-color ASCII video playback in the terminal
80
+ - Media scanner and lounge
81
+ - Audio playback support (pygame)
82
+
83
+ ### AI & Physics Engine (pyAI)
84
+ - Built-in physics and math accelerator
85
+ - Rocket delta-v, orbital mechanics, ballistic calculations
86
+ - Aerodynamics (drag, lift, Reynolds number, Bernoulli)
87
+ - Thermodynamics, radar/sonar equations, and more
88
+ - NumPy / SciPy / SymPy integration (optional)
89
+
90
+ ### Developer Tools
91
+ - Plugin system with sandboxed execution
92
+ - PWN tools and Python power utilities
93
+ - Download center and package management
94
+ - Graphing calculator
95
+
96
+ ### Weather & Space
97
+ - Weather and environmental monitoring
98
+ - Satellite and orbital tracking
99
+
100
+ ### Display Modes
101
+ - **Textual TUI** — Rich interactive dashboard with multiple layouts (requires `textual`)
102
+ - **Classic Command Center** — Works on any terminal, no extra dependencies
103
+ - **Minimal Mode** — Ultra-fast startup via `PYTHONOS_FAST_START` env var
104
+
105
+ ## Installation
106
+
107
+ ### From PyPI
108
+
109
+ ```bash
110
+ pip install pythonoscmd
111
+ ```
112
+
113
+ ### From Source
114
+
115
+ ```bash
116
+ git clone https://github.com/ahmedsayyed/pythonoscmd.git
117
+ cd pythonoscmd
118
+ pip install .
119
+ ```
120
+
121
+ ### Optional Dependencies
122
+
123
+ Install the full experience with all features enabled:
124
+
125
+ ```bash
126
+ pip install pythonoscmd[full]
127
+ ```
128
+
129
+ Or install only the core:
130
+
131
+ ```bash
132
+ pip install pythonoscmd[minimal]
133
+ ```
134
+
135
+ | Dependency group | Packages |
136
+ |---|---|
137
+ | **Core** | `requests`, `beautifulsoup4`, `psutil` |
138
+ | **Full** | Core + `Pillow`, `rich`, `textual`, `pygments`, `numpy` |
139
+ | **Minimal** | `requests`, `beautifulsoup4` |
140
+
141
+ ## Usage
142
+
143
+ After installation, three entry points are available:
144
+
145
+ ```bash
146
+ pythonoscmd # Full terminal OS
147
+ pythonos # Alias (shorter)
148
+ pos # Quick alias
149
+ ```
150
+
151
+ Or run the script directly:
152
+
153
+ ```bash
154
+ python pythonOScmd.py
155
+ ```
156
+
157
+ ### Command-Line Flags
158
+
159
+ | Flag | Description |
160
+ |---|---|
161
+ | `--classic` | Launch in classic command center mode |
162
+ | `--textual` | Launch in Textual TUI mode |
163
+ | `--fast` | Minimal mode, skip initialization |
164
+
165
+ ### Environment Variables
166
+
167
+ | Variable | Description |
168
+ |---|---|
169
+ | `PYTHONOS_FAST_START` | Set to any value to bypass all initialization and launch the minimal classic interface instantly |
170
+
171
+ ## Architecture
172
+
173
+ pythonOScmd is a **completely self-contained** single-file application. On first run it automatically extracts embedded modules:
174
+
175
+ | Extracted File | Purpose |
176
+ |---|---|
177
+ | `logger_system.py` | Advanced centralized logging with rotation, JSON output, and analysis |
178
+ | `pyAI.py` | Physics & math accelerator plugin |
179
+ | `plugin_system.py` | Plugin management, validation, sandboxing, and dependency resolution |
180
+
181
+ ### Code Sections
182
+
183
+ | # | Section | Description |
184
+ |---|---|---|
185
+ | 1 | Imports & Core Dependencies | Standard library and optional package imports |
186
+ | 2 | Configuration & Constants | System-wide settings and configuration |
187
+ | 3 | Core System Utilities | Boot loader, audio initialization |
188
+ | 4 | Database & Logging System | Complete logging suite with rotation |
189
+ | 5 | UI & Display System | Colors, visual effects, headers |
190
+ | 6 | Weather & Environmental Monitoring | Weather data and environmental tools |
191
+ | 7 | Satellite & Orbital Tracking | Orbital mechanics and satellite tracking |
192
+ | 8 | Network & Connectivity | WiFi, Bluetooth, network tools |
193
+ | 9 | Security & Penetration Testing | Security tooling suite |
194
+ | 10 | Defence & Protection Systems | Defensive security measures |
195
+ | 11 | Media & Entertainment | ASCII video player, media scanner |
196
+ | 12 | Hardware Monitoring & Diagnostics | CPU, memory, thermal sensors |
197
+ | 13 | AI & Analytics | Deep Probe AI, autonomous optimizer |
198
+ | 14 | System Management Tools | System administration utilities |
199
+ | 15 | Web & Remote Dashboard | Web-based remote dashboard |
200
+ | 16 | Plugin System & Extensibility | Plugin loading and sandboxing |
201
+ | 17 | Download Center & Package Management | Package installation tools |
202
+ | 18 | Developer Tools | PWN tools, Python power |
203
+ | 19 | Integration & Bridge Functions | Cross-module integration |
204
+ | 20 | Main Application Logic | Primary application flow |
205
+ | 21 | Startup & Initialization | Boot sequence and entry points |
206
+
207
+ ### Plugin System
208
+
209
+ Plugins are Python files placed in `~/.pythonos/plugins/` or `pythonOS_data/plugins/`. Each plugin is:
210
+
211
+ 1. **Discovered** — scanned and metadata extracted
212
+ 2. **Validated** — syntax checked, metadata verified, size limits enforced
213
+ 3. **Loaded** — imported with optional sandboxing
214
+ 4. **Executed** — called through a registered entry point
215
+
216
+ Plugins support dependency resolution, checksums, and a restricted-builtins sandbox mode.
217
+
218
+ ### Failsafe System
219
+
220
+ Every feature has an intelligent fallback chain. If a feature fails (e.g., Textual not installed), the system automatically degrades to the next available alternative — all the way down to a minimal command-line interface.
221
+
222
+ ## Project Structure
223
+
224
+ ```
225
+ pythonOScmdSUPER/
226
+ ├── pythonOScmd.py # Main application (self-contained, 54k+ lines)
227
+ ├── logger_system.py # Extracted: centralized logging
228
+ ├── plugin_system.py # Extracted: plugin management
229
+ ├── _core.py # Core helpers
230
+ ├── pyproject.toml # Build configuration (PEP 621)
231
+ ├── LICENSE # MIT License
232
+ ├── run.sh # Quick launch script
233
+ ├── de421.bsp # JPL ephemeris for satellite tracking
234
+ ├── pythonOS_data/ # Runtime data, swap files, API modules
235
+ ├── plugins/ # User plugins directory
236
+ ├── programs/ # Additional program modules
237
+ ├── pythonoscmd/ # Pip-installable package wrapper
238
+ └── pythonOScmdPIP/ # Pip distribution files
239
+ ```
240
+
241
+ ## Requirements
242
+
243
+ - **Python** >= 3.9
244
+ - **OS**: Linux, macOS (Windows supported with limited features)
245
+
246
+ ## License
247
+
248
+ MIT License — see [LICENSE](LICENSE) for details.
249
+
250
+ ## Author
251
+
252
+ **Ahmed Sayyed**
253
+
254
+ ---
255
+
256
+ > *"By the power of Python, I summon forth the Terminal OS! Let it be a realm of endless possibilities, where code and creativity intertwine. May it run with the speed of light and the wisdom of ages. So mote it be!"*
@@ -0,0 +1,209 @@
1
+ # pythonOScmd
2
+
3
+ **A Unified Terminal Operating System** — 54,000+ lines of Python powering a fully self-contained TUI with 500+ tools for system monitoring, security, media, AI analytics, and more.
4
+
5
+ ```
6
+ ╔══════════════════════════════════════════════════════════╗
7
+ ║ pythonOScmd — Terminal OS v27 ║
8
+ ║ "Where code and creativity intertwine" ║
9
+ ╚══════════════════════════════════════════════════════════╝
10
+ ```
11
+
12
+ ## Features
13
+
14
+ ### System Monitoring & Diagnostics
15
+ - Real-time CPU, memory, disk, and thermal sensor readouts
16
+ - Hardware diagnostics with visual bar graphs
17
+ - Autonomous system optimizer and efficiency indexing
18
+ - Deep Probe AI analytics
19
+
20
+ ### Network & Connectivity
21
+ - WiFi toolkit and Bluetooth scanning
22
+ - Network diagnostics and connectivity tools
23
+ - Remote web dashboard
24
+ - Server/client bridge
25
+
26
+ ### Security & Penetration Testing
27
+ - Penetration testing toolkit
28
+ - Defence and protection systems
29
+ - Security scanning and auditing
30
+
31
+ ### Media & Entertainment
32
+ - Full-color ASCII video playback in the terminal
33
+ - Media scanner and lounge
34
+ - Audio playback support (pygame)
35
+
36
+ ### AI & Physics Engine (pyAI)
37
+ - Built-in physics and math accelerator
38
+ - Rocket delta-v, orbital mechanics, ballistic calculations
39
+ - Aerodynamics (drag, lift, Reynolds number, Bernoulli)
40
+ - Thermodynamics, radar/sonar equations, and more
41
+ - NumPy / SciPy / SymPy integration (optional)
42
+
43
+ ### Developer Tools
44
+ - Plugin system with sandboxed execution
45
+ - PWN tools and Python power utilities
46
+ - Download center and package management
47
+ - Graphing calculator
48
+
49
+ ### Weather & Space
50
+ - Weather and environmental monitoring
51
+ - Satellite and orbital tracking
52
+
53
+ ### Display Modes
54
+ - **Textual TUI** — Rich interactive dashboard with multiple layouts (requires `textual`)
55
+ - **Classic Command Center** — Works on any terminal, no extra dependencies
56
+ - **Minimal Mode** — Ultra-fast startup via `PYTHONOS_FAST_START` env var
57
+
58
+ ## Installation
59
+
60
+ ### From PyPI
61
+
62
+ ```bash
63
+ pip install pythonoscmd
64
+ ```
65
+
66
+ ### From Source
67
+
68
+ ```bash
69
+ git clone https://github.com/ahmedsayyed/pythonoscmd.git
70
+ cd pythonoscmd
71
+ pip install .
72
+ ```
73
+
74
+ ### Optional Dependencies
75
+
76
+ Install the full experience with all features enabled:
77
+
78
+ ```bash
79
+ pip install pythonoscmd[full]
80
+ ```
81
+
82
+ Or install only the core:
83
+
84
+ ```bash
85
+ pip install pythonoscmd[minimal]
86
+ ```
87
+
88
+ | Dependency group | Packages |
89
+ |---|---|
90
+ | **Core** | `requests`, `beautifulsoup4`, `psutil` |
91
+ | **Full** | Core + `Pillow`, `rich`, `textual`, `pygments`, `numpy` |
92
+ | **Minimal** | `requests`, `beautifulsoup4` |
93
+
94
+ ## Usage
95
+
96
+ After installation, three entry points are available:
97
+
98
+ ```bash
99
+ pythonoscmd # Full terminal OS
100
+ pythonos # Alias (shorter)
101
+ pos # Quick alias
102
+ ```
103
+
104
+ Or run the script directly:
105
+
106
+ ```bash
107
+ python pythonOScmd.py
108
+ ```
109
+
110
+ ### Command-Line Flags
111
+
112
+ | Flag | Description |
113
+ |---|---|
114
+ | `--classic` | Launch in classic command center mode |
115
+ | `--textual` | Launch in Textual TUI mode |
116
+ | `--fast` | Minimal mode, skip initialization |
117
+
118
+ ### Environment Variables
119
+
120
+ | Variable | Description |
121
+ |---|---|
122
+ | `PYTHONOS_FAST_START` | Set to any value to bypass all initialization and launch the minimal classic interface instantly |
123
+
124
+ ## Architecture
125
+
126
+ pythonOScmd is a **completely self-contained** single-file application. On first run it automatically extracts embedded modules:
127
+
128
+ | Extracted File | Purpose |
129
+ |---|---|
130
+ | `logger_system.py` | Advanced centralized logging with rotation, JSON output, and analysis |
131
+ | `pyAI.py` | Physics & math accelerator plugin |
132
+ | `plugin_system.py` | Plugin management, validation, sandboxing, and dependency resolution |
133
+
134
+ ### Code Sections
135
+
136
+ | # | Section | Description |
137
+ |---|---|---|
138
+ | 1 | Imports & Core Dependencies | Standard library and optional package imports |
139
+ | 2 | Configuration & Constants | System-wide settings and configuration |
140
+ | 3 | Core System Utilities | Boot loader, audio initialization |
141
+ | 4 | Database & Logging System | Complete logging suite with rotation |
142
+ | 5 | UI & Display System | Colors, visual effects, headers |
143
+ | 6 | Weather & Environmental Monitoring | Weather data and environmental tools |
144
+ | 7 | Satellite & Orbital Tracking | Orbital mechanics and satellite tracking |
145
+ | 8 | Network & Connectivity | WiFi, Bluetooth, network tools |
146
+ | 9 | Security & Penetration Testing | Security tooling suite |
147
+ | 10 | Defence & Protection Systems | Defensive security measures |
148
+ | 11 | Media & Entertainment | ASCII video player, media scanner |
149
+ | 12 | Hardware Monitoring & Diagnostics | CPU, memory, thermal sensors |
150
+ | 13 | AI & Analytics | Deep Probe AI, autonomous optimizer |
151
+ | 14 | System Management Tools | System administration utilities |
152
+ | 15 | Web & Remote Dashboard | Web-based remote dashboard |
153
+ | 16 | Plugin System & Extensibility | Plugin loading and sandboxing |
154
+ | 17 | Download Center & Package Management | Package installation tools |
155
+ | 18 | Developer Tools | PWN tools, Python power |
156
+ | 19 | Integration & Bridge Functions | Cross-module integration |
157
+ | 20 | Main Application Logic | Primary application flow |
158
+ | 21 | Startup & Initialization | Boot sequence and entry points |
159
+
160
+ ### Plugin System
161
+
162
+ Plugins are Python files placed in `~/.pythonos/plugins/` or `pythonOS_data/plugins/`. Each plugin is:
163
+
164
+ 1. **Discovered** — scanned and metadata extracted
165
+ 2. **Validated** — syntax checked, metadata verified, size limits enforced
166
+ 3. **Loaded** — imported with optional sandboxing
167
+ 4. **Executed** — called through a registered entry point
168
+
169
+ Plugins support dependency resolution, checksums, and a restricted-builtins sandbox mode.
170
+
171
+ ### Failsafe System
172
+
173
+ Every feature has an intelligent fallback chain. If a feature fails (e.g., Textual not installed), the system automatically degrades to the next available alternative — all the way down to a minimal command-line interface.
174
+
175
+ ## Project Structure
176
+
177
+ ```
178
+ pythonOScmdSUPER/
179
+ ├── pythonOScmd.py # Main application (self-contained, 54k+ lines)
180
+ ├── logger_system.py # Extracted: centralized logging
181
+ ├── plugin_system.py # Extracted: plugin management
182
+ ├── _core.py # Core helpers
183
+ ├── pyproject.toml # Build configuration (PEP 621)
184
+ ├── LICENSE # MIT License
185
+ ├── run.sh # Quick launch script
186
+ ├── de421.bsp # JPL ephemeris for satellite tracking
187
+ ├── pythonOS_data/ # Runtime data, swap files, API modules
188
+ ├── plugins/ # User plugins directory
189
+ ├── programs/ # Additional program modules
190
+ ├── pythonoscmd/ # Pip-installable package wrapper
191
+ └── pythonOScmdPIP/ # Pip distribution files
192
+ ```
193
+
194
+ ## Requirements
195
+
196
+ - **Python** >= 3.9
197
+ - **OS**: Linux, macOS (Windows supported with limited features)
198
+
199
+ ## License
200
+
201
+ MIT License — see [LICENSE](LICENSE) for details.
202
+
203
+ ## Author
204
+
205
+ **Ahmed Sayyed**
206
+
207
+ ---
208
+
209
+ > *"By the power of Python, I summon forth the Terminal OS! Let it be a realm of endless possibilities, where code and creativity intertwine. May it run with the speed of light and the wisdom of ages. So mote it be!"*
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pythonoscmd"
7
- version = "26.0.0"
7
+ version = "27"
8
8
  description = "pythonOS — Unified Terminal Operating System with 500+ TUI tools, system monitoring, security tools, media capabilities, and more."
9
9
  readme = {file = "README.md", content-type = "text/markdown"}
10
10
  license = {text = "MIT"}