bo4e package

Subpackages

Submodules

bo4e.version module

Version information for the bo4e package.

bo4e.zusatzattribut module

Contains ExterenzeReferenz class and corresponding marshmallow schema for de-/serialization

class bo4e.zusatzattribut.ZusatzAttribut(*, name: str | None, wert: Any)[source]

Bases: BaseModel

Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf. Beim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs der anzubindenden Systeme zu merken.

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'name': FieldInfo(annotation=Union[str, NoneType], required=True, description='Bezeichnung der externen Referenz (z.B. "microservice xyz" oder "SAP CRM GP-Nummer")'), 'wert': FieldInfo(annotation=Any, required=True, description='Bezeichnung der externen Referenz (z.B. "microservice xyz" oder "SAP CRM GP-Nummer")')}

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

name: str | None

Bezeichnung der externen Referenz (z.B. “microservice xyz” oder “SAP CRM GP-Nummer”)

wert: Any

Wert der externen Referenz (z.B. “123456”; “4711”)

Module contents

BO4E-Python - Python implementation of the BO4E standard

BO4E-Python is a Python implementation of the BO4E standard. BO4E is a standard for the exchange of business objects in the energy industry. BO4E-Python is an open-source software released under the Apache-2.0 license.

The BO4E version can be queried using bo4e.__version__.