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 need 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-0.0.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

efoli-0.0.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: efoli-0.0.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for efoli-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d1e115fd3a9c5c7f0b568125670576a385252dc8bea06fef424aac8c054cf3f6
MD5 68d5e9508156ba3e3a8c1d97615c1c35
BLAKE2b-256 458a8b974185572a1d8d36d9c5d7c4ac5bb54ef1f8ab5fe7a3b51df11d38b99b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: efoli-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for efoli-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65a05a7cdbee406ec03d9c9b122a84c5b3470113642d2acba8fa3232c9ceb810
MD5 ef376d23ef17d1f5a8c4bd19f5560658
BLAKE2b-256 7ea7068cfe0ea1bc120b548ed221f3046063fec6f508cb8467b14ae1922f0699

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