Skip to content

e-foli is a Python package that contains 𝐞nums for edifact 𝐟𝐨rmats and 𝐟𝐨rmat versions used by German uti𝐥𝐢ties + some helper methods/tooling

Notifications You must be signed in to change notification settings

Hochfrequenz/efoli

Repository files navigation

E-Foli

License: MIT Python Versions (officially) supported Pypi status badge Unittests status badge Coverage status badge Linting status badge Black status badge

efoli is a Python package, that contains

  • an Enum EdifactFormat that models EDIFACT formats used by German utilities like, e.g.
    • UTILMD
    • MSCONS
    • INVOIC
  • an Enum EdifactFormatVersion that models validity periods of different message versions, e.g.
    • FV2310 is valid from 2023-10-01 onwards
    • FV2404 is valid from 2024-04-03 onwards
  • helper methods that allow
    • to derive the EdifactFormat from a given Prüfidentifikator (e.g. 55001UTILMD)
    • that derive the EdifactFormatVersion from a given date(time) (e.g. 2024-01-01FV2310)

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.

About

e-foli is a Python package that contains 𝐞nums for edifact 𝐟𝐨rmats and 𝐟𝐨rmat versions used by German uti𝐥𝐢ties + some helper methods/tooling

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages