efoli is a Python package, that contains
- an Enum
EdifactFormatthat models EDIFACT formats used by German utilities like, e.g.UTILMDMSCONSINVOIC- …
- an Enum
EdifactFormatVersionthat models validity periods of different message versions, e.g.FV2310is valid from 2023-10-01 onwardsFV2404is valid from 2024-04-03 onwards- …
- helper methods that allow
- to derive the
EdifactFormatfrom a given Prüfidentifikator (e.g.55001➡UTILMD) - that derive the
EdifactFormatVersionfrom a given date(time) (e.g.2024-01-01➡FV2310)
- to derive the
It's not much, but we need it at many places. This is why we use this package as a central place to define these formats and versions.
pip install efoliFollow the instructions from our template repository.
tl;dr: tox.
You are very welcome to contribute to this template repository by opening a pull request against the main branch.