Skip to main content

Getting timeseries data from Belvis Rest API.

Project description

PyPI GitHub Actions - CI GitHub Actions - pre-commit Documentation Status

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:

http://www.github.com/rwijtvliet/belvys

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

belvys-0.2.3.tar.gz (37.6 kB view details)

Uploaded Source

Built Distribution

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

belvys-0.2.3-py2.py3-none-any.whl (21.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file belvys-0.2.3.tar.gz.

File metadata

  • Download URL: belvys-0.2.3.tar.gz
  • Upload date:
  • Size: 37.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for belvys-0.2.3.tar.gz
Algorithm Hash digest
SHA256 d3ceb09680d88ff1e893a31af126c79a9855c09f7ac93bad8f257c78d71d0cd5
MD5 a3fbd966946e0cd45211caa323c1ecda
BLAKE2b-256 8469ca5c1eeaa4015348ce9a4a03dc4f8c74acc7c15fe864c5701326b5c18b0d

See more details on using hashes here.

File details

Details for the file belvys-0.2.3-py2.py3-none-any.whl.

File metadata

  • Download URL: belvys-0.2.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for belvys-0.2.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5345eac7bf8988c20f973f1d8641e105f9d9950cb52da9f6d3198e6e288fe3cb
MD5 7f11f91b73debba47c1daaa71246aaca
BLAKE2b-256 791bb416095a83a2c784a80350c9050430c2a0c7ca39fb7063f1ffd41762448c

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