Code Monkey home page Code Monkey logo

dltreader's Introduction

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.

Setup

pip install -U dltreader

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):

Similar projects in other programming languages:

dltreader's People

Contributors

keans avatar

Watchers

 avatar  avatar

Forkers

pgn69

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.