Cross-platform system stats made easy
Project description
statz
statz is a cross-platform Python package that fetches real-time system usage and hardware specs — all wrapped in a simple, clean API.
Works on macOS, Linux, and Windows, and handles OS-specific madness under the hood so you don’t have to.
✨ Features
- 📊 Get real-time CPU, RAM, and disk usage
- 💻 Fetch detailed system specifications (CPU, RAM, OS, etc.)
- 🧠 Automatically handles platform-specific logic
- 🧼 Super clean API — just two functions, no fluff
📦 Installation
pip install statz
📝 Changelog
v0.3.1 – CLI Options and Cool Colors 🖥️ 🎨
-
⌨️ Added more CLI Options!
- Run
statzfrom your terminal after install - Available flags:
-
--specs→ show all specs -
--usage→ show all usage -
--cpu→ show cpu usage/specs -
--gpu→ show gpu usage/specs -
--ram→ show ram usage/specs -
--os→ show os usage/specs -
--disk→ show disk usage/specs -
--network→ show network usage/specs -
--battery→ show battery usage/specs -
--json→ output result in a clean JSON format -
--out→ output result into a JSON file
-
- Example:
statz --specs --cpu --gpu --out - Output:
File: statz_export_(date)_(time) { "cpu": { "processor": "arm", "coreCountPhysical": 12, "coreCountLogical": 12, "cpuName": "Apple M4 Pro", "cpuFrequency": "Unknown" }, "gpu": { "error": "GPU information not available on Darwin" } }
- Run
-
🎨 Colored error mesages!
- For unsupported types, such as GPU information on MacOS, errors will be printed in red!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file statz-0.3.1.tar.gz.
File metadata
- Download URL: statz-0.3.1.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd714db62d1ff59a8292234a92f2eed974437ab17344314754b61cff101fdb4f
|
|
| MD5 |
9db7595957e27915fe4ccc528cced679
|
|
| BLAKE2b-256 |
368da8b824bbaf573a4b8846f90189166166374fb4225072ccc8ed8c297e58f9
|
File details
Details for the file statz-0.3.1-py3-none-any.whl.
File metadata
- Download URL: statz-0.3.1-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0bd8119be8b4519ddc9b3b3e357b4a784382529c7281284eed791b90077f2d6
|
|
| MD5 |
8dca8d9372c68cf8a07a0ec71eab0260
|
|
| BLAKE2b-256 |
694c5072fdb61d4587b4ab0fbbb816ccbc4152eb9a4204c77d404da74af2ec05
|