Skip to main content

Enums and related helper functions that model EDIFACT relevant data for German utilities

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

efoli-2.3.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

efoli-2.3.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file efoli-2.3.0.tar.gz.

File metadata

  • Download URL: efoli-2.3.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for efoli-2.3.0.tar.gz
Algorithm Hash digest
SHA256 30b99b3fdf568c336ad955372410b77846154df939a4264ea542c533dc44d713
MD5 2fc80205d78762e132e292ac788c6fc4
BLAKE2b-256 1aab99cfdb47005a1c5c8048cd7969f7fba8e7a449de86d26aa7fcb6ff54565c

See more details on using hashes here.

Provenance

The following attestation bundles were made for efoli-2.3.0.tar.gz:

Publisher: python-publish.yml on Hochfrequenz/efoli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file efoli-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: efoli-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for efoli-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c61102adc0068d452bf374e587b8b7e365494f7087685dd54ec05dcf177acea3
MD5 c849dca24d458702ae4f9b24f7bd2bed
BLAKE2b-256 ee5f21d964c54215e37528b45eb10cb9fc164d570fec062b2eab8a54ec990cd4

See more details on using hashes here.

Provenance

The following attestation bundles were made for efoli-2.3.0-py3-none-any.whl:

Publisher: python-publish.yml on Hochfrequenz/efoli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page