pydlt
A pyre-python library to handle AUTOSAR DLT.
Decision gist · record as of 2026-08-14
Yes, if you work with AUTOSAR DLT protocol and your message types fall within the supported format subset. The permissive MIT license, zero runtime dependencies, and straightforward API make it a practical choice for automotive diagnostic workflows. Be aware that maintenance is aging (last commit 525 days ago) and several DLT type formats remain unsupported; verify that your use case does not rely on the documented limitations before committing to production use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- Maintenance status is aging—last commit was 2025-03-07 and the project has not seen active development for several months, though the repository remains active and not archived.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you may use, modify, and distribute this package freely with minimal restrictions, provided you include the license notice.
last release 2025-03-07 (525 days) · last repo commit 2025-03-07 · 15 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 129,130 downloads/mo, #11,680 on PyPI
Alternatives
Verify before relying
from pydlt import DltFileWriter, DltMessage, ArgumentString, MessageType, MessageLogInfo, StorageHeader
msg = DltMessage.create_verbose_message(
[ArgumentString("hello")],
MessageType.DLT_TYPE_LOG,
MessageLogInfo.DLT_LOG_INFO,
"App", "Ctx",
message_counter=0,
str_header=StorageHeader(0, 0, "Ecu")
)
with DltFileWriter("output.dlt") as writer:
writer.write_messages([msg])- Whether the aging maintenance status and 525 days since last release affect stability or compatibility with current AUTOSAR specifications.
- Whether the documented limitations (TYPE_LENGTH_128BIT, TYPE_ARRAY, VARIABLE_INFO, FIXED_POINT, TRACE_INFO, TYPE_STRUCT) impact your specific DLT message types.
What it is and what it does
PyDLT is a Python library for reading and writing AUTOSAR DLT (Diagnostic Log and Trace) protocol messages, following the AUTOSAR Specification V1.2.0 R4.0. It provides APIs to construct both verbose messages (with typed arguments like strings) and non-verbose messages (raw binary payloads), serialize them to DLT files with storage headers, and parse DLT files back into message objects for inspection and analysis.
The library has no external runtime dependencies and installs as a pure Python wheel, making it lightweight for automotive diagnostic tooling. However, it does not yet support all DLT type formats—notably TYPE_LENGTH_128BIT, TYPE_ARRAY, VARIABLE_INFO, FIXED_POINT, TRACE_INFO, and TYPE_STRUCT are documented as unsupported, which may limit its applicability to certain diagnostic data streams.
Use it for
- Write diagnostic log messages from an embedded system or test harness into a DLT file for later analysis.
- Parse and inspect existing DLT log files from automotive ECUs to extract diagnostic events and trace data.
- Build automotive diagnostic tooling that needs to generate or consume AUTOSAR-compliant DLT protocol messages.
- Integrate DLT logging into Python-based vehicle simulation or testing frameworks.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with AUTOSAR DLT protocol and your message types fall within the supported format subset.
The permissive MIT license, zero runtime dependencies, and straightforward API make it a practical choice for automotive diagnostic workflows. Be aware that maintenance is aging (last commit 525 days ago) and several DLT type formats remain unsupported; verify that your use case does not rely on the documented limitations before committing to production use.
Install
pydlt on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance status is aging—last commit was 2025-03-07 and the project has not seen active development for several months, though the repository remains active and not archived.
License in practice
MIT license is permissive; you may use, modify, and distribute this package freely with minimal restrictions, provided you include the license notice.
Quickstart
from pydlt import DltFileWriter, DltMessage, ArgumentString, MessageType, MessageLogInfo, StorageHeader
msg = DltMessage.create_verbose_message(
[ArgumentString("hello")],
MessageType.DLT_TYPE_LOG,
MessageLogInfo.DLT_LOG_INFO,
"App", "Ctx",
message_counter=0,
str_header=StorageHeader(0, 0, "Ecu")
)
with DltFileWriter("output.dlt") as writer:
writer.write_messages([msg])
Verify before relying
- Whether the aging maintenance status and 525 days since last release affect stability or compatibility with current AUTOSAR specifications.
- Whether the documented limitations (TYPE_LENGTH_128BIT, TYPE_ARRAY, VARIABLE_INFO, FIXED_POINT, TRACE_INFO, TYPE_STRUCT) impact your specific DLT message types.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 525 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 129,130 / month, #11,680 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: pydlt-0.3.5-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 › “AUTOSAR DLT protocol”
- pydltPyDLT reads and writes AUTOSAR DLT (Diagnostic Log and Trace)…
- autosar-dataPython bindings for reading, writing, and modifying AUTOSAR arxml…
- dagster-dltIntegrates dlt data loading into Dagster pipelines, enabling…
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 autosar-data · doipclient · udsoncan · odxtools · tlparse · databricks-dlt · tomlrt · dncil · dlt · dagster-dlt