dmiparser
This parses dmidecode output to Python objects. The Python module supports multiple output formats (JSON, JSONC, YAML, XML) via the format parameter, and provides CLI tools with the same capabilities
Decision gist · record as of 2026-08-14
Yes. The package solves a real problem (parsing dmidecode into usable data structures) with low install friction, active maintenance, no security vulnerabilities, and permissive licensing. It is suitable for system administration, inventory, and hardware diagnostics workflows. The recent 7.0 breaking changes (format and pretty parameters) are documented and straightforward to migrate.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- DmiDecoder requires superuser permissions to run dmidecode; DmiParser itself works with any dmidecode text input.
- Low friction: pure Python wheel with a single runtime dependency (pyyaml).
- Actively maintained with a release 9 days old.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.
last release 2026-08-05 (9 days) · last repo commit 2026-08-05 · 3 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 83,551 downloads/mo, #14,066 on PyPI
Alternatives
Verify before relying
pip install dmiparser
from dmiparser import DmiParser
text = "# dmidecode 3.6\n..." # dmidecode output
parser = DmiParser(text, format="json", pretty=True)
print(parser.data)- Whether the package handles all dmidecode versions or has known compatibility limits.
- Performance characteristics when parsing large or complex dmidecode outputs.
What it is and what it does
Dmiparser wraps the output of the dmidecode command-line tool—which reads system firmware and hardware information from SMBIOS tables—and converts it into structured, queryable Python objects. It provides two main entry points: DmiParser accepts dmidecode output as a string and parses it, while DmiDecoder runs dmidecode directly and parses the result. Both support multiple output formats (JSON, JSONC, YAML, XML) and a pretty-print mode for human-readable output.
The package is useful for system administrators and tools that need to programmatically extract hardware details (CPU, memory, firmware, BIOS settings) from Linux systems. It includes both a Python API for integration into larger scripts and standalone CLI commands (dmiparser and dmidecoder) for shell pipelines. The single runtime dependency is pyyaml, and it requires Python 3.6 or later.
Use it for
- Extract CPU specifications (model, speed, core count) from a running system for inventory or monitoring.
- Convert raw dmidecode output to JSON for ingestion into configuration management or asset tracking systems.
- Parse BIOS and firmware information from multiple servers and export as YAML for comparison or auditing.
- Build system diagnostics tools that query hardware capabilities without parsing unstructured text.
- Integrate hardware metadata into cloud provisioning or bare-metal deployment workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package solves a real problem (parsing dmidecode into usable data structures) with low install friction, active maintenance, no security vulnerabilities, and permissive licensing. It is suitable for system administration, inventory, and hardware diagnostics workflows. The recent 7.0 breaking changes (format and pretty parameters) are documented and straightforward to migrate.
Install
dmiparser on PyPI
Before you install
Low friction: pure Python wheel with a single runtime dependency (pyyaml). Actively maintained with a release 9 days old.
DmiDecoder requires superuser permissions to run dmidecode; DmiParser itself works with any dmidecode text input.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.
Quickstart
pip install dmiparser
from dmiparser import DmiParser
text = "# dmidecode 3.6\n..." # dmidecode output
parser = DmiParser(text, format="json", pretty=True)
print(parser.data)
Verify before relying
- Whether the package handles all dmidecode versions or has known compatibility limits.
- Performance characteristics when parsing large or complex dmidecode outputs.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepyyaml |
| Maintenance | Actively maintained 9 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 83,551 / month, #14,066 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: Only |
Evidence: dmiparser-7.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “dmidecode parser python”
- dmiparserParses dmidecode output into structured Python objects and exports…
- dparseParses Python dependency files (requirements.txt, conda.yml, tox.ini,…
- pyleriPyleri is a left-right parser generator that lets you define a…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also jsondiff · pyaml · compact-json · tabulate · prettierfier · yq · jsonc-parser · cmeel-urdfdom · demjson3 · python-rapidjson