Skip to main content

Hardware detection and classification utilities

Project description

Latest hardware release on the Python Cheeseshop (PyPI) Build status of hardware on Travis CI

Hardware detection and classification utilities



  • 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


Installing from pypi:

pip install -U hardware


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:

Logical disks

  • hdparm
  • smartmontools


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hardware, version 0.27.0
Filename, size File type Python version Upload date Hashes
Filename, size hardware-0.27.0-py3-none-any.whl (240.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size hardware-0.27.0.tar.gz (162.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page