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-1.2.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

efoli-1.2.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for efoli-1.2.0.tar.gz
Algorithm Hash digest
SHA256 564694769c5c1c35adde433abd165cca4540431755cc1e1c8f213e380b0dde47
MD5 9f4585969bde5a1f64a19a6ae0727220
BLAKE2b-256 58a815de76a52edfe34eec06e3e56f30e978af7c3dea26a3ddf819dc1e18dc36

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for efoli-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f7ad48ee4c065deaba0dfcfdb5759baa40d274d0f217c8aa06ae6b62c98436d
MD5 26d1fe2f5467f75ca954cb40ccc89517
BLAKE2b-256 0bfcec0d17b6e4dca6eb90be4704fe917fb6f5c03bc1810c56da1b3d0520d07e

See more details on using hashes here.

Supported by

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