https://github.com/null-none/python-lshw
lshw is a small tool to extract detailed information on the hardware configuration of the machine.
https://github.com/null-none/python-lshw
hardware linux python shell
Last synced: 9 months ago
JSON representation
lshw is a small tool to extract detailed information on the hardware configuration of the machine.
- Host: GitHub
- URL: https://github.com/null-none/python-lshw
- Owner: null-none
- License: mit
- Created: 2021-07-19T19:00:20.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-19T19:25:40.000Z (over 4 years ago)
- Last Synced: 2025-02-27T02:16:44.170Z (10 months ago)
- Topics: hardware, linux, python, shell
- Language: Python
- Homepage: https://linux.die.net/man/1/lshw
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lshw
lshw is a small tool to extract detailed information on the hardware configuration of the machine.
### Pip install
```bash
pip install lshw
```
### Example
```python
from lshw.client import ListHardware
list_hardware = ListHardware()
result = list_hardware.read_data(list_hardware.get_nic_data())
print(result)
```
### License
MIT