Linux/Windows tool and library to get DMI data
Installation
Packages
You can download installation package for supported linux distributions in Open Build Service
Examples:
Command line
dmiget
dmiget dmi:///bios/vendor
Python
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))
C++
#include <smbios/node.h>
#include <iostream>
using namespace std;
int main(int argc, char **argv) {
Node node{"chassis"};
cout << node.name() << " - " << node << endl;
cout << node["manufacturer"] << endl;
return 0;
}
Metadata
Release files for smbios 1.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| smbios-1.2.6.tar.gz | 66.8 kB | Details |
Release files / smbios-1.2.6.tar.gz
| Download URL | smbios-1.2.6.tar.gz |
|---|---|
| Size | 66.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
16cc6cacde1e121e416fcef7bbc799c8729be1b8a4f795cbf150ee7e4a4aaed2
|
|
BLAKE2b-256 checksum How to use checksums |
1e5b72e37189e6bf13c84540b5c64f92a65682ecd08257b82f56bb04d6472825
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2024.
Transparency log