Python library to read data from SMBIOS/DMI.
Project description
About
This library allow python applications an easy way to read data from system's SMBios without the need of dmidecode.
Installation
PyPI
pip install smbios
Linux packages
You can get linux packages (RPM, Deb, arch) from Suse's Open Build Service
Usage
import smbios
value = smbios.Value('chassis','serial')
print(value)
import smbios
value = smbios.Value('dmi:///chassis/serial')
print(value)
import smbios
value = smbios.memsize()
print(value)
print(int(value))
import smbios
for node in smbios.nodes():
print(node)
for value in node.values():
print(' {}: {}'.format(value.description,value))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smbios-1.2.3.tar.gz
(42.9 kB
view hashes)