Skip to main content

Read MaStR XML files and map them to Pydantic models.

Project description

mastr-models: Pydantic and SQLAlchemy models for Marktstammdatenregister (MaStR) data

Read MaStR XML files and map them to Pydantic models.

MaStR official models

How MaStR units connects to grids

Set up Python development environment

uv sync  --all-groups --extra orm

Generate Python dataclass from MaStR XML Schema

xsdata generate --package mastr_models.v25_2 --union-type 'data/MaStR_xsd_25.2/'

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

mastr_models-0.3.2.tar.gz (140.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mastr_models-0.3.2-py3-none-any.whl (243.9 kB view details)

Uploaded Python 3

File details

Details for the file mastr_models-0.3.2.tar.gz.

File metadata

  • Download URL: mastr_models-0.3.2.tar.gz
  • Upload date:
  • Size: 140.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mastr_models-0.3.2.tar.gz
Algorithm Hash digest
SHA256 eafa99cb7d922aa61f9724521c03abb9cc61c1dd7ed50430398b424824ca8f5c
MD5 6b2ea85b9fe283021461631252e07577
BLAKE2b-256 931e6ea3289415ef124cf6562e69e158b6d06bc7caf5177c6bcc5b3c65b0fbdd

See more details on using hashes here.

File details

Details for the file mastr_models-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: mastr_models-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 243.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mastr_models-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 793b91e04ece080bbc6c01853529f76b66d51b3dde4cc118519fc1ebf5bb96a2
MD5 0ca1682b094561a330f7f261f7514860
BLAKE2b-256 72d996925122990d028c1aab36f4ac43bda4180c09341651ea6c32aa096a01fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page