Ldfparser

Latest version: v0.26.0

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

0.6.0

Added

- Signal and LIN node objects are now linked when subscribers and publishers are specified
- The following node attributes are now parsed into the LDF objects
- P2_min
- ST_min
- N_As_timeout
- N_Cr_timeout
- UnassignFrameId command which is in LIN 2.0 spec
- Schedule table commands are now parsed

Changed

- Signals with no subscribers are now allowed, while this is not to spec. OEMs use it ( kayoub5 )
- Node attributes section can now be empty ( kayoub5 )
- AssignFrameIdRange now accepts either 0 or 4 PID values

0.5.2

Added

- Allows specifying the file encoding when parsing LDF files ( 19 )

Fixed

- AssignFrameIdRange command syntax in schedule tables ( 18 )

Reworked

- Updated comment syntax to the one used in lark commons ( 17 ) this requires lark-parser >= 0.10.0

0.5.1

Added

- Support for parsing comments in LDF

Fixed

- Empty block comments not being allowed

0.5.0

Added

- Support for reading node attributes
- Support for array type signals
- Support for BCD and ASCII values
- Factory method for parsing LDF files, this breaks scripts still using 0.4.1 and below
- Method for converting LDF into dictionary

Changed

- Reworked Lark parser to better support different LDF versions, 1.3 to 2.2 should be supported

0.4.1

Fixed

- Multiple slaves not being allowed in the LDF, specified in the LIN standard

0.4.0

Added

- Support for different comment syntaxes

Page 5 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.