Skip to main content

Linux/Windows tool and library to get DMI data

Platform: Linux/Windows License: GPL v3 CodeQL build result PyPI version

Installation

Packages

You can download installation package for supported linux distributions in Open Build Service

Download from open build service Download from githut Download from pypi

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)

Source distribution for smbios 1.2.6
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

Release history Release notifications | RSS feed

This release

1.2.6 This release

1 release file

1.2.5

1 release file

1.2.4

1 release file

1.2.3

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page