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.1.0.tar.gz (10.6 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.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for efoli-2.1.0.tar.gz
Algorithm Hash digest
SHA256 c1beaea0272bcfff1a06f30dd62213830dc49c5d99ee4e9319dc00ff067fd33b
MD5 236e6326177f8602f91ff69ae5084533
BLAKE2b-256 b2dc17541ff5a0f15480b0cfc37b1a681e6dabc0f860205aba561a7953524821

See more details on using hashes here.

Provenance

The following attestation bundles were made for efoli-2.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: efoli-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5573fedd53f3ff004c698cff4b919127e96c94ecc06f3080e325d36fd4c69b45
MD5 6e8e51e8cd14523918680494a6571f8b
BLAKE2b-256 0859b26ad90a35b1be49d353f31811f9c2ca2b4a4c08d2d94353b24bac090c21

See more details on using hashes here.

Provenance

The following attestation bundles were made for efoli-2.1.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