Skip to main content

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 web service (API).

Project description

Documentation Status CI OpenEnergyPlatform

open-MaStR

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

The MaStR data can be

  1. browsed 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 web service (API).

In this repository open-MaStR we are developing methods to analyze, validate and enrich the data. We want to collect and compile post processing scripts to improve data quality.

If you are interested in browsing the MaStR online, check out the privately hosted Marktstammdatenregister.dev.

Find the documentation hosted on ReadTheDocs.

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

Install the current release of open_mastr with pip:

$ pip install open_mastr

To upgrade to a newer release use the --upgrade flag:

$ pip install --upgrade open_mastr

Alternatively, you can manually download open_mastr from GitHub <https://github.com/OpenEnergyPlatform/open-MaStR>_. Change the CWD to the download folder open-MaStR/.

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

Optionally, a pre-defined conda environment can be used with

conda env create -f environment.yml

Install the package with

python setup.py install

License / Copyright

This repository is licensed under GNU Affero General Public License v3.0 (AGPL-3.0).
See the LICENSE file for rights and limitations.
See the CITATION function if you want to mention this software in your publication.

open-MaStR © Reiner Lemoine Institut © fortiss | AGPL-3.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.11.1.tar.gz (73.9 kB view hashes)

Uploaded Source

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