hardware

Python module for hardware detection and classification

https://github.com/redhat-cip/hardware

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 30 committers (6.7%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.2%) to scientific vocabulary

Keywords from Contributors

ansible infrared infrared-plugin
Last synced: 10 months ago · JSON representation

Repository

Python module for hardware detection and classification

Basic Info
  • Host: GitHub
  • Owner: redhat-cip
  • License: apache-2.0
  • Language: Python
  • Default Branch: master
  • Size: 2.71 MB
Statistics
  • Stars: 54
  • Watchers: 22
  • Forks: 42
  • Open Issues: 4
  • Releases: 14
Created over 11 years ago · Last pushed over 1 year ago
Metadata Files
Readme Contributing License

README.rst

===============================
hardware
===============================

.. image:: https://img.shields.io/pypi/v/hardware.svg
   :alt: Latest hardware release on the Python Cheeseshop (PyPI)
   :target: https://pypi.python.org/pypi/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
=====
* cli64 from http://www.areca.com.tw/support/s_linux/linux.htm

Logical disks
=============
* hdparm
* smartmontools

Networking
==========
* ethtool
* lldp from http://open-lldp.org/
* ibstat if you have infiniband devices from https://www.openfabrics.org/

System
======
* ipmitool from https://sourceforge.net/projects/ipmitool/
* pciutils
* lshw from http://www.ezix.org/project/wiki/HardwareLiSter

Raid controllers
================
* for HP controllers: hpacucli from http://h20564.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_d6ebba0f5cd642edace4648b9a
* for Dell controllers: megacli from http://www.avagotech.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip

Owner

  • Name: Red Hat Cloud Innovation Practice
  • Login: redhat-cip
  • Kind: organization
  • Location: Paris (France) / Montreal (Canada) / Bangalore (India)

GitHub Events

Total
  • Issues event: 2
  • Watch event: 3
  • Push event: 3
  • Pull request review event: 2
  • Pull request event: 4
Last Year
  • Issues event: 2
  • Watch event: 3
  • Push event: 3
  • Pull request review event: 2
  • Pull request event: 4

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 245
  • Total Committers: 30
  • Avg Commits per committer: 8.167
  • Development Distribution Score (DDS): 0.669
Past Year
  • Commits: 4
  • Committers: 1
  • Avg Commits per committer: 4.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Riccardo Pittau e****o@g****m 81
Frederic Lepied f****d@e****m 60
Erwan Velu e****u@c****m 19
Tony Breeds t****y@b****m 12
Erwan Velu e****u@e****m 12
Frederic Lepied f****d@r****m 7
Serena Ziviani s****i@c****h 5
Steven A. Broderick Elias s****i@a****u 5
Erwan Velu e****n@r****m 5
Victor Stinner v****r@r****m 4
Dmitry Tantsur d****r@p****m 4
Sylvain Baubeau s****u@r****m 4
Michael Davies m****l@t****t 4
Lucas Alvares Gomes l****s@g****m 3
gaelL g****t@e****m 2
Pierre Riteau p****e@s****m 2
Hervé Beraud h****o@g****m 2
Mark Goddard m****k@s****m 2
Cédric Jeanneret c****r@r****m 1
Alfredo Moralejo a****j@r****m 1
John Trowbridge t****n@r****m 1
Lon Hohberger l****n@m****m 1
Yassine Lamgarchal y****l@e****m 1
Michele Baldessari m****e@a****g 1
Uros Orozel u****l@g****m 1
Gerhard Muntingh g****d@w****l 1
Bob Fournier b****e@r****m 1
Matt Crees m****c@s****m 1
Will Szumski w****l@s****m 1
Riccardo Pittau e****o 1

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 16
  • Total pull requests: 91
  • Average time to close issues: 7 months
  • Average time to close pull requests: 27 days
  • Total issue authors: 10
  • Total pull request authors: 13
  • Average comments per issue: 4.38
  • Average comments per pull request: 1.11
  • Merged pull requests: 81
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 3
  • Average time to close issues: 4 days
  • Average time to close pull requests: 1 day
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.33
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • elfosardo (4)
  • alexmyczko (3)
  • dtantsur (2)
  • sere (1)
  • priteau (1)
  • ErwanAliasr1 (1)
  • goldyfruit (1)
  • jovial (1)
  • jackhodgkiss (1)
  • 01000101 (1)
Pull Request Authors
  • elfosardo (62)
  • ErwanAliasr1 (13)
  • sere (5)
  • dtantsur (3)
  • fredericlepied (2)
  • priteau (2)
  • jackhodgkiss (2)
  • bfournie (1)
  • jovial (1)
  • MoteHue (1)
  • urosorozel (1)
  • lebauce (1)
  • valleedelisle (1)
Top Labels
Issue Labels
enhancement (1) testing (1) triaged (1)
Pull Request Labels
work-in-progress (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 1,031 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 17
  • Total versions: 35
  • Total maintainers: 3
pypi.org: hardware

Hardware detection and classification utilities

  • Versions: 35
  • Dependent Packages: 0
  • Dependent Repositories: 17
  • Downloads: 1,031 Last month
Rankings
Dependent repos count: 3.5%
Downloads: 6.2%
Forks count: 6.3%
Average: 7.2%
Stargazers count: 10.0%
Dependent packages count: 10.1%
Maintainers (3)
Last synced: 12 months ago

Dependencies

doc/requirements.txt pypi
  • sphinx *
requirements.txt pypi
  • pbr >=3.1.1
  • pexpect *
test-requirements.txt pypi
  • Babel >=2.9.1 test
  • stestr >=2.0.0 test
  • testtools >=2.2.0 test
.github/workflows/docs-testing.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/pep8-testing.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/unit-testing.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite