Database Connection for OpenSTEF
Project description
Openstef-dbc - Database connector for openstef (reference)
This repository houses the python package openstef-dbc, which provides a database interface to OpenSTEF (reference). It can be usefull to explorte openstef and openstef-reference.
Table of contents
Install
- Install by running
pip install openstef-dbc
- Enjoy!
Usage
This is a package with functionality to support the openstef workflow. Most important is the DataBase class. This class give access to the data used by openstef-reference via a convenient interface. You can use it, for example, to retrieve a prediction job by running the following lines of code:
from openstef_dbc.database import DataBase
db = DataBase(config)
pj = db.get_prediction_job(307)
Where config
is a pydantic.BaseSettings
object.
License
This project is licensed under the Mozilla Public License, version 2.0 - see LICENSE for details.
Licenses third-party libraries
This project includes third-party libraries, which are licensed under their own respective Open-Source licenses. SPDX-License-Identifier headers are used to show which license is applicable. The concerning license files can be found in the LICENSES directory.
Contributing
Please read CODE_OF_CONDUCT.md, CONTRIBUTING.md and PROJECT_GOVERNANACE.md for details on the process for submitting pull requests to us.
Contact
Please read SUPPORT.md for how to connect and get into contact with the OpenSTEF project
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 openstef_dbc-3.7.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f23fadd9dd2167790c252b9e8f6b6e786b28f04d7547ca602b4382cbc510ee46 |
|
MD5 | 99c970633bb6deb2cd04ba699b3165fd |
|
BLAKE2b-256 | ade67dcc65ac2d88e4b6b26aed79e9ddc9c855a7b41e3b25412d99d08ccf24c8 |