Database Connection for OpenSTF
Project description
icarus-base - Korte Termijn Prognoses
Alliander heeft slimme, zelflerende algoritmes ontwikkeld die voorspellen wat de belasting op het elektriciteitsnet gaat worden voor de komende paar dagen. De toename van fluctuerende, duurzame bronnen zoals wind en zon maken de elektriciteitsbelasting steeds grilliger, terwijl de stijgende elektriciteitsvraag zorgt voor minder ruimte op het net. Om lokaal vraag en aanbod van energie op elkaar af te stemmen, helpt het om al vóóraf inzicht te hebben in wat er op het net gaat gebeuren. Meer informatie en achtergonden staan op onze wiki
Install
- Clone repository
- Install by running
pip install .
in theicarus-tools
directory - Collect acc-secrets.yaml and prd-secrets.yaml files from a KTP teammember or KeePass
- Place it in the 'HOME' directory (see the config manager documentation for tips)
- On Windows this is usually
C:\Users\<YOUR_USER_NAME>
- On Windows this is usually
- Enjoy!
Usage
This is a package with functionality to support the Korte Termijn Prognoses workflow. Most important is the DataBase class. This class give access to the data used by KTP via an convenient interface. You can use it, for example, to retrieve a prediciton job by running the following lines of code:
from openstf_dbc.database import DataBase
db = DataBase()
pj = db.get_prediction_jon(307)
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Contact
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
File details
Details for the file openstf_dbc-1.0.0.tar.gz
.
File metadata
- Download URL: openstf_dbc-1.0.0.tar.gz
- Upload date:
- Size: 43.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ae3512c54e82c0f828c73b003b9d8698a3a18fb3c218550063d9ad43a26e357 |
|
MD5 | b9f1da2c9afb5e102fb8ed46ee677f6e |
|
BLAKE2b-256 | 56cff57c9498367732bf3a021d1d457f3cef0d5b49b6baf4f2ead55a0d94a4a1 |
File details
Details for the file openstf_dbc-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: openstf_dbc-1.0.0-py3-none-any.whl
- Upload date:
- Size: 52.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20307aed0d54b8f926ec254f1db8bd19a05cbb4f0bef28ca47ca9ce0a5651414 |
|
MD5 | 51bb31cf3e85dc774b9313c37f0233c3 |
|
BLAKE2b-256 | 3846bcd012c8157b7050f33ffb16ae592468ef538ff8ab397ba6e9497c3bcdf9 |