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

Uploaded Source

Built Distribution

efoli-0.0.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: efoli-0.0.2.tar.gz
  • Upload date:
  • Size: 11.5 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.2.tar.gz
Algorithm Hash digest
SHA256 14300d6a773198ab98cbf6f3774aa2db6faece1db75dcd3e9be6afc63100e989
MD5 9e0c37badb9238e889d80004c8ee9d5b
BLAKE2b-256 fed8e30f83597d1134aa82f5c1d28609d64ee0385f39eb06553532553f75f920

See more details on using hashes here.

File details

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

File metadata

  • Download URL: efoli-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 97b35a8d0aa8580f791fb2ad61fc8eb713fa895d086f344c28f005323dd15bd9
MD5 ac6ef5d9837a4898bb4fcb45e0ba3005
BLAKE2b-256 a9a981a65ae4da112bb9c060760866281e2824c912e4503e8ff84608aac1c108

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