HardView is a high-performance, cross-platform Python module that provides detailed hardware and system information in structured JSON format. It supports both Windows (via WMI) and Linux (via sysfs/proc), and now includes advanced storage/SMART info and real-time performance monitoring.
- 🖥️ Comprehensive Hardware Data: BIOS, System, Baseboard, Chassis, CPU, RAM, Disks, Network
- 🏗️ Advanced Storage & SMART: Detailed disk, partition, and SMART attributes
- 📊 Performance Monitoring: Real-time and interval-based CPU, RAM, and system performance (usage, monitoring)
- 🏗️ Cross-Platform: Works on Windows (WMI) and Linux (sysfs/proc)
- ⚡ C Implementation: High performance native code
- 🐍 Python Integration: Easy-to-use Python API
- 🧩 Modular Design: Extensible, well-documented, and easy to contribute to
- 📝 Structured JSON Output: All results are returned as JSON strings for easy parsing
See docs/INSTALL.md for supported platforms and installation instructions.
All documentation is in the docs/ folder. Key files:
- What.md: API Reference & Output Examples
Full explanation of every function, what info it returns, how to use it from Python, and real output samples. - ARCHITECTURE.md: Technical Architecture
Deep dive into the internal structure, data flow, and design of HardView for developers and contributors. - BENCHMARKS.md: Performance & Feature Comparisons
Real-world speed benchmarks and feature comparisons with other Python libraries. - INSTALL.md: Installation Guide
Supported platforms, installation methods, and troubleshooting tips. - FAQ.md: Frequently Asked Questions
Solutions to common installation, usage, and troubleshooting issues.
| get_bios_info() | BIOS vendor, version, release date | {...} |
| get_system_info() | System manufacturer, product name, UUID | {...} |
| get_baseboard_info() | Motherboard information | {...} |
| get_chassis_info() | Chassis/computer case info | {...} |
| get_cpu_info() | Processor details | {...} |
| get_ram_info() | Memory modules and totals | {...} |
| get_disk_info() | Storage devices | {...} |
| get_network_info() | Network adapters | {...} |
| get_partitions_info() | Disk partitions (advanced) | {...} |
| get_smart_info() | Full disk/SMART info (advanced) | {...} |
| get_cpu_usage() | Current CPU usage | {...} |
| get_ram_usage() | Current RAM usage | {...} |
| get_system_performance() | Combined CPU/RAM usage | {...} |
| monitor_cpu_usage(duration, interval) | Monitor CPU usage over time | [ ... ] |
| monitor_ram_usage(duration, interval) | Monitor RAM usage over time | [ ... ] |
| monitor_system_performance(duration, interval) | Monitor system performance over time | [ ... ] |
See docs/What.md for full details and output samples.
| BIOS Info | ✅ WMI | ✅ sysfs |
| System Info | ✅ WMI | ✅ sysfs |
| Baseboard | ✅ WMI | ✅ sysfs |
| Chassis | ✅ WMI | ✅ sysfs |
| CPU | ✅ WMI | ✅ /proc/cpuinfo |
| RAM | ✅ WMI | ✅ /proc/meminfo |
| Disks | ✅ WMI | ✅ /sys/block |
| Network | ✅ WMI | ✅ getifaddrs |
| Advanced Storage/SMART | ✅ WMI | |
| Performance Monitoring | ✅ |
See docs/BENCHMARKS.md for detailed speed and feature comparisons with other libraries.
Windows:
Linux:
- Python 3.6+
- On Windows: WMI libraries (automatically available)
- On Linux: Standard system libraries (libc, etc.)
MIT License - Free for commercial and personal use.
Contributions are welcome! Please submit pull requests or open issues for features/bugs.
HardView - Your Window into Hardware Information
See docs/ for full API, technical, and comparison documentation.
.png)
