asammdf
ASAM MDF measurement data file parser
Decision gist · record as of 2026-08-14
Yes, with conditions. Install if you work with ASAM MDF files and need a Python-native parser with active maintenance and no known vulnerabilities. The LGPLv3+ copyleft license is a blocker for proprietary software distribution; the medium install friction (12 dependencies) is manageable for most environments. The 801 GitHub stars and recent activity (9 days since last release) indicate a stable, well-supported project.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.10; MDF file must be a valid ASAM MDF v2, v3, or v4 file.
- Medium install friction due to 12 runtime dependencies including numpy, pandas, lxml, and compression libraries (lz4, zstd, isal).
- Actively maintained with recent releases; last commit 2026-08-06 and 801 GitHub stars indicate stable, ongoing development.
License · maintenance · safety
LGPLv3+ (copyleft) — LGPLv3+ copyleft license requires derivative works to be licensed under compatible terms and source code to be made available; acceptable for internal use and open-source projects, but restrictive for proprietary software distribution.
last release 2026-08-05 (9 days) · last repo commit 2026-08-06 · 801 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,566,663 downloads/mo, #3,756 on PyPI
Alternatives
Verify before relying
from asammdf import MDF
mdf = MDF('sample.mdf')
speed = mdf.get('WheelSpeed')
short = mdf.filter(['WheelSpeed']).cut(start=10, stop=12)
short.convert('4.10').save('output.mf4')- Performance comparison claims ('faster than other Python-based mdf libraries') lack quantitative benchmarks in the fact sheet.
- Actual memory footprint and scalability limits for 'large files' (e.g., 5GB merges) are not specified.
- Whether CAN/LIN database support (.dbc, .arxml) is fully functional or experimental.
What it is and what it does
asammdf is a parser and editor for ASAM MDF measurement data files used in automotive and industrial testing. It reads MDF versions 2, 3, and 4, extracts channels and signals, and supports operations like filtering, time-slicing, and format conversion. The library is built around a Signal class for unified handling of multi-rate time-series data from different sources, which is more flexible than pandas DataFrames when channels have mismatched time bases.
The package depends on numpy, pandas, lxml, and several compression libraries (lz4, zstd, isal) to handle large measurement files efficiently. It includes support for CAN and LIN bus logging extraction, attachment handling, and export to multiple formats (HDF5, Matlab v7.3, CSV, parquet). The library targets Python 3.10+ and is actively maintained with a stable, production-ready status.
Use it for
- Extract and plot specific signals from automotive test measurement files for analysis and visualization.
- Filter a subset of channels from a large MDF file and cut to a time window for focused analysis.
- Convert MDF v3 or v4 files to v4.10 format or export to pandas/HDF5 for downstream processing.
- Parse CAN bus logging measurements and extract signals using a CAN database (.dbc or .arxml).
- Merge multiple MDF files with the same structure while handling large files on resource-constrained systems.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Install if you work with ASAM MDF files and need a Python-native parser with active maintenance and no known vulnerabilities. The LGPLv3+ copyleft license is a blocker for proprietary software distribution; the medium install friction (12 dependencies) is manageable for most environments. The 801 GitHub stars and recent activity (9 days since last release) indicate a stable, well-supported project.
Install
asammdf on PyPI
Before you install
Medium install friction due to 12 runtime dependencies including numpy, pandas, lxml, and compression libraries (lz4, zstd, isal). Actively maintained with recent releases; last commit 2026-08-06 and 801 GitHub stars indicate stable, ongoing development.
Requires Python >= 3.10; MDF file must be a valid ASAM MDF v2, v3, or v4 file.
License in practice
LGPLv3+ copyleft license requires derivative works to be licensed under compatible terms and source code to be made available; acceptable for internal use and open-source projects, but restrictive for proprietary software distribution.
Quickstart
from asammdf import MDF
mdf = MDF('sample.mdf')
speed = mdf.get('WheelSpeed')
short = mdf.filter(['WheelSpeed']).cut(start=10, stop=12)
short.convert('4.10').save('output.mf4')
Verify before relying
- Performance comparison claims ('faster than other Python-based mdf libraries') lack quantitative benchmarks in the fact sheet.
- Actual memory footprint and scalability limits for 'large files' (e.g., 5GB merges) are not specified.
- Whether CAN/LIN database support (.dbc, .arxml) is fully functional or experimental.
Package facts
| License | LGPLv3+ copyleft |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 12 packageschardetcanmatrixisaldeflatelxmllz4numexprnumpypandaspython-dateutiltyping-extensionszstd |
| Maintenance | Actively maintained 9 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,566,663 / month, #3,756 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Topic :: Scientific/EngineeringTopic :: Software Development |
Evidence: asammdf-8.8.23-cp310-abi3-macosx_11_0_arm64.whl; asammdf-8.8.23-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; asammdf-8.8.23-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; asammdf-8.8.23-cp310-abi3-win_amd64.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 › “MDF file parser”
- asammdfasammdf parses, edits, and exports ASAM MDF measurement data files…
- INIToolsINITools parses and manipulates INI-style configuration files through…
- iniparseiniparse is an INI file parser that preserves formatting (comments,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also canmatrix · ldfparser · cantools · npTDMS · mat73 · utide · pymatreader · line-protocol-parser · GridDataFormats · pyEDFlib