View on GitHub

ldfparser

LIN Description File parser written in Python

The ldfparser library allows extracting information out of LIN descriptor files that are used to describe automotive networks.

Project status

The library is in a pre-release state, some of the functionalities are effectively final such as the intermediate output of the parser. Interfaces, functions, variable names may change any time with the plan being to first deprecate the function in a release then remove it later.

Setup

Releases are automatically published to PyPI, so you can install it using pip.

pip install ldfparser

Since the library is still in a pre-release state it’s recommended that in production use cases you pin the version to a minor release in your requirements.txt

Documentation

Parsing LDF files

Encoding and decoding frames

Using signals and encoders

Using the command line interface

Using diagnostic frames

Accessing schedule tables

License

Distributed under the terms of MIT license, ldfparser is free to use and modify.