Registry / serialization / fundamend

fundamend

JSON →
library0.36.0pypypi✓ verified 81d ago

Python library for XML-based formats and data models for the German energy industry (Energiewirtschaft). Provides Pydantic models and tooling for MIGs, AHBs, and related standards. Latest version: 0.36.0. Actively developed with frequent releases.

pip install fundamend
INSTALL
IMPORT
SIG · FUNDAMEND
F
fundamend
serializationpythonv0.36.0
Install
3.0s avg
Import
Disk
28MB
Pass rate
6/ 10
Env Coverage6 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.36.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
glibc
py 3.10
✕ build_error
✕ build_error
py 3.11
✓ —
✓ 3.5s
py 3.12
✓ —
✓ 2.7s
py 3.13
✓ —
✓ 2.9s
py 3.9
✕ build_error
✕ build_error
28MB installed
● package 28MB
Code
Verified usage

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

AhbReader
from fundamend import AhbReader
from fundamend import Mig
Anwendungshandbuch
from fundamend import Anwendungshandbuch
from fundamend import Mig
MessageImplementationGuide
from fundamend import MessageImplementationGuide
from fundamend import Mig

Load MIG and AHB objects from XML files. The library provides Pydantic models with from_xml class methods.

from fundamend import Mig # Load a MIG from a local XML file mig = Mig.from_xml("path/to/mig.xml") print(mig.title) # Load an AHB from XML from fundamend import Ahb ahb = Ahb.from_xml("path/to/ahb.xml") print(ahb.name)
Debug
Known issues
breakingVersion 0.34.0 changed the `id_path` construction to use semantic qualifiers. If you rely on stable string ID paths, they may have changed.
fix
Recompute any persisted ID paths; the new format is more stable across XML versions.
affects: >=0.34.0
deprecatedDirect import from submodules (e.g., `from fundamend.models import ...`) is deprecated. Use top-level imports instead.
fix
Change to `from fundamend import Mig` or the relevant class.
affects: >=0.30.0
gotchaXML files must use UTF-8 encoding. Non-UTF-8 files may cause parsing errors, especially with German umlauts.
fix
Ensure XML files are saved with UTF-8 encoding before loading.
affects: all
Upgrade
Version history
0.36.0latest on PyPI · released Apr 13, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
fundamend — pip install fundamend · libregistry