Ldfparser

Latest version: v0.26.0

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

Scan your dependencies

Page 3 of 6

0.14.0

- The breaking change in `lark` that impacts `ldfparser` is the change in the dependency's name.
Since the module name is still `lark` it causes two dependencies to refer to the same package
files. If you now install `lark` or `ldfparser==0.14.0` and then you uninstall `lark-parser`
you will have to reinstall the `lark` dependency.

0.13.1

Fixed

- `P2_min`, `ST_min` and `N_As` and `N_Cr` timeout default values are now set correctly

0.13.0

- Any reference to `ldf['schedule_tables'][id]['schedule'][entry]['delay']` that assumes that
milliseconds are used as the unit has to be updated to either multiply the current value by `1000`
or somehow change the assumption about the unit to seconds.
All numeric values that have an associated unit have their SI prefix removed during parsing, for
example `kbps` is converted into `bps`. The schedule entry delay was one case where it wasn't
handled accordingly.

0.12.0

Added

- Diagnostic frames and signals are now parsed
- Standard diagnostic commands can be encoded and decoded

Changed

- `LinUnconditionalFrame` can be encoded using a `List` of signal values
- Comment capturing has been reworked to use the Lexer callback feature of the Lark parser

0.11.1

Added

- Scientific notation is now allowed when providing floating point values

0.11.0

Added

- Units of Physical values can now be preserved when decoding frames
- `LinSignal` now has a reference to it's signal representation
- New encoding and decoding functions have been added, these allow conversions without passing
`ldf.converters`, instead it will try to use the default encoders but still allow users to override
the encoding type locally.

Fixed

- The new encoding allows frames to be encoded/decoded even when encoding types are missing (issue 72 )

Deprecated

- `LinUnconditionalFrame`'s `parse`, `parse_raw`, `data` and `raw` functions were deprecated in
favor of the new encoding functions

Page 3 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.