Skip to main content

A package that provides an interface for downloading and processing the data of the Marktstammdatenregister (MaStR)

Project description

MaStR logo

open-mastr

A package that provides an interface for downloading and processing the Marktstammdatenregister (MaStR)

License

License

Documentation

Read the Docs

Tests

GitHub Actions

Publication

PyPI badge_joss

Data Publication

zenodo

Development

open issues closes issues closes issues closes issues

Community

contributions contributors counter PyPI download month Total PyPI downloads

Introduction

The Marktstammdatenregister (MaStR) is a German register provided by the German Federal Network Agency (Bundesnetzagentur / BNetza) that keeps track of all power and gas units located in Germany.

The MaStR data can be

  1. browsed and filtered online

  2. taken from daily provided dumps

  3. be accessed via the web service

The python package open-mastr provides an interface for accessing the data.
It contains methods to download and parse the xml files (bulk) and the SOAP web service (API).
In this repository we are developing methods to analyze, validate and enrich the data.
We want to collect and compile post processing scripts to improve data quality.

Documentation

The documentation is in Material for Mkdocs markdown format in the doc sub-folder of the repository.
Find the documentation hosted on ReadTheDocs.
The original API documentation can be found on the Webhilfe des Marktstammdatenregisters.

Installation

It is recommended to use a virtual python environment, for example conda or virtualenv.
The package is intended to be used with Python >=3.8.

PyPI

Install the current release of open-mastr with pip:

pip install open-mastr

GitHub

For development, clone this repository manually.

git clone git@github.com:OpenEnergyPlatform/open-MaStR.git
cd open-MaStR

Setup the conda environment with

conda env create -f environment.yml

Install the package with

pip install "open_mastr[dev]"

Examples of Usage

If you want to see your project in this list, write an Issue or add changes in a Pull Request.

External Resources

Besides open-mastr, some other resources exist that ease the process of working with the Marktstammdatenregister: - If you are interested in browsing the MaStR online, check out the github organisation Marktstammdatenregister.dev. - The bundesAPI/Marktstammdaten-API is another implementation to access data via an official API.

Collaboration

Everyone is invited to develop this repository with good intentions.
Please follow the workflow described in the CONTRIBUTING.md.

License and Citation

Software

This repository is licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later).
See LICENSE.md for rights and obligations.
See the Cite this repository function or CITATION.cff for citation of this repository.

Data

The data has the license Datenlizenz Deutschland – Namensnennung – Version 2.0 (DL-DE-BY-2.0)
Copyright: Marktstammdatenregister - © Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen | DL-DE-BY-2.0

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

open_mastr-0.14.5.tar.gz (8.9 MB view details)

Uploaded Source

Built Distribution

open_mastr-0.14.5-py3-none-any.whl (164.6 kB view details)

Uploaded Python 3

File details

Details for the file open_mastr-0.14.5.tar.gz.

File metadata

  • Download URL: open_mastr-0.14.5.tar.gz
  • Upload date:
  • Size: 8.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for open_mastr-0.14.5.tar.gz
Algorithm Hash digest
SHA256 e00d40e85b4f58f44c65525229d5a0fdf1ac71e19fb7e94efeeaff2cf047dbc4
MD5 26e7e21482dbcd984cd21f6576370eca
BLAKE2b-256 6d8baf613f18d80c9e7336720bfaea5f2539953c525f8c93ee00ee7f41afba40

See more details on using hashes here.

File details

Details for the file open_mastr-0.14.5-py3-none-any.whl.

File metadata

  • Download URL: open_mastr-0.14.5-py3-none-any.whl
  • Upload date:
  • Size: 164.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for open_mastr-0.14.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9384bce18091569bde05beafa3f5e657800b2b50f6986c755b355a7fbd15d869
MD5 eabb8bf750fc9bb1c1590c134054c708
BLAKE2b-256 4a139cdc5cc5b4870d462f5319f2fc696b7b4f589f7a38f8ceb75d8d3d09ae9c

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