hardware
Hardware detection and classification utilities
Homepage: https://github.com/redhat-cip/hardware
Features
detect hardware features of a Linux systems:
RAID
hard drives
IPMI
network cards
DMI infos
memory settings
processor features
filter hardware according to hardware profiles
Install
Installing from pypi:
pip install -U hardware
Usage
Run the hardware-detect program:
hardware-detect --human
Runtime dependencies
The hardware detection is divided in modules that detects a specific hardware type. Each module have its own dependencies.
Therefore, we cannot enforce installing all the dependencies as some are not relevant regarding a particular hardware type. To avoid a situation where we cannot use/install hardware because of one of those deps, we do prefer let users installing the one they need.
The hardware detection code will ignore all the missing deps and continue, so not installing a deps is not fatal.
Please find bellow the list of dependencies per module:
Areca
Logical disks
hdparm
smartmontools
Benchmarks
sysbench 1.0 or newer for CPU and memory benchmarks
fio for disk benchmarks
Networking
ethtool
lldp from http://open-lldp.org/
ibstat if you have infiniband devices from https://www.openfabrics.org/
System
ipmitool from https://codeberg.org/IPMITool/ipmitool
pciutils
Raid controllers
for HPE Smart Array controllers: ssacli from the HPE SSA CLI (hpssacli and hpacucli are also detected for older installations)
for Dell PERC controllers: PERCCLI (perccli or perccli64)
for other LSI/Broadcom MegaRAID controllers: StorCLI (storcli or storcli64)
The detector searches PATH and the standard vendor installation directories /opt/MegaRAID/perccli and /opt/MegaRAID/storcli. MegaCLI is deprecated upstream but remains supported as a fallback for older installations.
Metadata
Release files for hardware 0.34.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hardware-0.34.0.tar.gz | 172.5 kB | Without provenance | Details for hardware-0.34.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hardware-0.34.0-py3-none-any.whl | Python 3 | none | any | Details for hardware-0.34.0-py3-none-any.whl |
Total release size: 417.7 kB
Release files / hardware-0.34.0.tar.gz
| Download URL | hardware-0.34.0.tar.gz |
|---|---|
| Size | 172.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
268a772e941371afce5e7a288a9f86e1e50c04e6c62b2f8e030d80289f53328e
|
|
BLAKE2b-256 checksum How to use checksums |
29a7ed8ccea8e315484611a82714977490454b0aa361b5655305c0045f59f645
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Release files / hardware-0.34.0-py3-none-any.whl
| Download URL | hardware-0.34.0-py3-none-any.whl |
|---|---|
| Size | 245.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5c5df3c3126471d9593dce50a8c5b575daea707a883ab42755df71a7a8c2f91
|
|
BLAKE2b-256 checksum How to use checksums |
80c55bb6e5f016a0e08583be5108b39dcc5b12e0d4ffac505a1ecbf21733f684
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Security for hardware 0.34.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.