hwd wraps around pyudev‘s
objects to provide functionality specific to different types of hardware.
Currently, hwd provides a base wrapper class that provides common information
such as bus, vendor, and model, and classes for wrapping storage and network
hwd is being developed at Outernet specifically for integration of hardware management functionality into Librarian that runs on Outernet receives. As such, there are no plans for adding support for devices that are common on personal computers.
hwd is in early development, and is therefore not yet published on a PyPI repository. To install the latest development version from GitHub, use this command:
pip install https://github.com/Outernet-Project/hwd/archive/develop.zip
To use the wrapper classes, you need
pyudev.Device objects. You can obtain
them using pyudev API, or using the
Once you have one or more
Device objects, you can instantiate the wrapper
classes, passing the
Device object to the constructor.