E-Foli
efoli
is a Python package, that contains
- an Enum
EdifactFormat
that models EDIFACT formats used by German utilities like, e.g.
- an Enum
EdifactFormatVersion
that models validity periods of different message versions, e.g.
FV2310
is valid from 2023-10-01 onwardsFV2404
is valid from 2024-04-03 onwards- …
- helper methods that allow
- to derive the
EdifactFormat
from a given Prüfidentifikator (e.g. 55001
➡UTILMD
) - that derive the
EdifactFormatVersion
from a given date(time) (e.g. 2024-01-01
➡FV2310
)
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.
Installation
pip install efoli
Setup for Local Development
Follow the instructions from our template repository.
tl;dr: tox
.
Contribute
You are very welcome to contribute to this template repository by opening a pull request against the main branch.