Getting timeseries data from Belvis Rest API.
Project description
Package to fetch data through the REST API of energy portfolio management software “Belvis”.
Installation
pip install belvys
Documentation
Documentation is hosted on readthedocs:
https://belvys.readthedocs.io/
The package defines 3 classes: Tenant, which is the main class, and Structure and Api, which it depends on.
The Tenant class uses a structure specification (an instance of the Structure class) and an interface (an instance of the Api class) to retrieve timeseries (more specifically portfolyo.PfLine instances) from Belvis.
The purpose of the Structure class is primarily to specify the portfolios and timeseries we are interested in. This includes original Belvis portfolios, as well as synthetic ones that are the sum of several original porfolios. It also specifies where relevant prices can be found in Belvis.
The Api class is used to query the belvis Api and retrieve data, including the authentication part.
Repository
The git repository is hosted on github:
Developing
This project uses black to format code and flake8 for linting. We also support pre-commit to ensure these have been run. To configure your local environment please install these development dependencies and set up the commit hooks.
$ pip install -r requirements-dev.txt
$ pre-commit install
Disclaimer
This package interacts with the Belvis software which is delevoped by Kisters. This package is not written by, maintained by, or associated with Kisters in any way.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for belvys-0.2.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af81441a6deb784ea90d56a033154ed7081a25d5db2b0980bc90be97b225aa68 |
|
MD5 | c30bd4b9d6027b0bc9c16b0436799e70 |
|
BLAKE2b-256 | 9e8c65dd1f9e524998cabaefa43c7e0369f271a56cc360eea1f4aa557fca69fc |