Registry / data / efoli
library2.3.0pypypi✓ verified 85d ago

Provides enums and helper functions modeling EDIFACT-relevant data for German utilities, including format versions, process types, and document types. Current version 2.3.0, requires Python >=3.9. Released under MIT license, maintained by Hochfrequenz. New releases appear every few months.

pip install efoli
INSTALL
IMPORT
SIG · EFOLI
E
efoli
datapythonv2.3.0
Install
1.7s avg
Import
—
Disk
19MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v2.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 20.7MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 21MB
19MB installed
● package 19MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

EdifactFormat
✓ from efoli import EdifactFormat
✗ from efoli import EDIFACTFormatVersion
EdifactFormatVersion
✓ from efoli import EdifactFormatVersion
get_current_edifact_format_version
✓ from efoli import get_current_edifact_format_version

Basic usage: import enum and helper, then call the function.

from efoli import EDIFACTFormatVersion, get_edifact_format_version_valid_from fv = EDIFACTFormatVersion.FV2504 print(fv) print(get_edifact_format_version_valid_from(fv))
Debug
Known issues
breakingv2.0.0 broke UTILMDG/UTILMDS degeneracy: 44xxx now maps to UTILMDG, 55xxx to UTILMDS (not UTILMD).
fix
Update code if you relied on older mapping for 44xxx/55xxx document numbers.
affects: >=2.0.0
gotchaEnum values like FV2504 have string representations (e.g., '2504'), not integers.
fix
Use .value or str() to get the string; do not assume integer.
affects: all
Upgrade
Version history
2.3.0latest on PyPI · released Apr 4, 2026
Audit
Dependencies
pytzrequiredfor timezone-aware date calculations
Agent activity
12 hits · last 30 days
node
10
Resources
efoli — pip install efoli · libregistry