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.0.0.tar.gz (10.5 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.0.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for efoli-2.0.0.tar.gz
Algorithm Hash digest
SHA256 04c78d77fbb1155cac1a832ef126bbceaeb80043dd69fd6f07786525edffc3fd
MD5 50c188b82159a93b92c1e0068fb83fe4
BLAKE2b-256 1d38093e99efb63c4def3c878919d0f351cba8291bd6d44c0da51685e2b756ec

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for efoli-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bce45edc2ba44b21ce544aa5d4dfe77007f1c6f6efcc128e6d4b5fe938ff122e
MD5 5748015f39666cd2d12cce890f88b7bf
BLAKE2b-256 5613a6257048906d11068422b12d3601c56498fe08c5a13008e21edec780a3fa

See more details on using hashes here.

Provenance

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