dltreader-0.0.2
توضیحات
DLT reader for AUTOSAR Diagnostic, Log and Trace Protocol.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dltreader-0.0.2 |
| نام | dltreader |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ansgar Kellner |
| ایمیل نویسنده | keans@gmx.de |
| آدرس صفحه اصلی | https://github.com/keans/dltreader |
| آدرس اینترنتی | https://pypi.org/project/dltreader/ |
| مجوز | MIT |
Read Me
=======
The `dltreader` Python module allows the reading of AUTOSAR
["Diagnostic, Log and Trace Protocol"](https://www.autosar.org/fileadmin/standards/foundation/1-0/AUTOSAR_PRS_DiagnosticLogAndTraceProtocol.pdf) files.
files.
Why?
----
The goal of this module is to provide a simple, purely Python-based module to
read `.dlt` files without further dependencies. Apart from that a permissive
free software license shall is supported to make it usable in possible
commercial contexts.
Example
-------
::
from dlt import DltReader
with DltReader("example.dlt") as r:
for storage_header, packet in r:
if not packet.has_payload():
# skip packets that do not have a payload
continue
print(packet)
Limitations
-----------
At current point in time the module is a PoC so should not be used in
production software; besides, it is only a partial implementation of the
overall standard and not optimized for performance.
Docs
----
Please check the `docs/` directory for further details.
Related DLT projects
--------------------
Python modules for DLT (without claim to be complete):
* https://pypi.org/project/dltpy (requires C++ dependencies)
* https://github.com/r2b1d1/dlt2json (converts DLT to json format)
* https://gitlab.com/Menschel/logging-dlt (similar but using GPL)
* https://pypi.org/project/pydlt (provides also writing of DLT messages)
* ...
Similar projects in other programming languages:
* https://github.com/esrlabs/dlt-reader/
* https://github.com/COVESA/dlt-daemon/
* ...
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl dltreader-0.0.2:
pip install dltreader-0.0.2.whl
نصب پکیج tar.gz dltreader-0.0.2:
pip install dltreader-0.0.2.tar.gz