Registry / serialization / pydlt
library0.3.5pypypi✓ verified 84d ago

A Python library to handle AUTOSAR DLT (Diagnostic Log and Trace) messages. Version 0.3.5 supports reading/writing DLT files and network streaming. Released irregularly, latest in 2024.

pip install pydlt
INSTALL
IMPORT
SIG · PYDLT
P
pydlt
serializationpythonv0.3.5
Install
1.5s avg
Import
—
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v0.3.5 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.9MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DltMessage
✓ from pydlt import DltMessage
✗ from pydlt import DltFile
DltFileReader
✓ from pydlt import DltFileReader
✗ from pydlt import DltFile
DltFileWriter
✓ from pydlt import DltFileWriter
✗ from pydlt import DltFile

Read and iterate over DLT messages from a file.

from pydlt import DltFile dlt = DltFile() dlt.open('example.dlt') for msg in dlt: print(msg.payload) dlt.close()
Debug
Known issues
gotchaDltFile does not close automatically; always call .close() or use a context manager (not yet supported) to avoid resource leaks.
fix
Explicitly call dlt.close() or wrap in try/finally.
affects: all
gotchaDltLine payload might be bytes; decoding to string requires specifying encoding (e.g., msg.payload.decode('utf-8'))
fix
Decode payload manually: payload = msg.payload.decode('utf-8', errors='replace')
affects: all
Upgrade
Version history
0.3.5latest on PyPI · released Mar 7, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
pydlt — pip install pydlt · libregistry