# Openstf-dbc - Database connector for openstf (reference)
This repository houses the python package [openstf-dbc](https://pypi.org/project/openstf-dbc/), which provides an interface to openstf (reference) databases.
Related projects:
- [openstf-reference](https://github.com/alliander-opensource/openstf-reference)
- [openstf](https://github.com/alliander-opensource/short-term-forecasting)
## Install
1. Install by running `pip install openstf-dbc`
2. Enjoy!
## Usage
This is a package with functionality to support the openstf workflow. Most important is the DataBase class.
This class give access to the data used by openstf-reference via a convenient interface. You can use it, for example, to retrieve a prediction job by running the following lines of code:
```python
from openstf_dbc.config.config import ConfigManager
from openstf_dbc.database import DataBase
config = ConfigManager.load_project_config(PROJECT_ROOT)
db = DataBase(config)
pj = db.get_prediction_job(307)
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 CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Contact
Metadata
Release files for openstf-dbc 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| openstf_dbc-2.2.0.tar.gz | 43.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openstf_dbc-2.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 98.6 kB
Release files / openstf_dbc-2.2.0.tar.gz
| Download URL | openstf_dbc-2.2.0.tar.gz |
|---|---|
| Size | 43.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
459e4d256a3e86cafea693cc700e661476ff156d20deed9f34fb3c2e208be93a
|
|
BLAKE2b-256 checksum How to use checksums |
7ac793da3be3f52523af90cbfec8a48d8ee6c79e5a9a0503331594ca5a06cb4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Release files / openstf_dbc-2.2.0-py3-none-any.whl
| Download URL | openstf_dbc-2.2.0-py3-none-any.whl |
|---|---|
| Size | 54.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a7b565a6b1cf4634d81a71297c11b0e6643cf1759ec5079748d472dc102ca4b
|
|
BLAKE2b-256 checksum How to use checksums |
0cfaa1320aa28359b610298d61ae1e0e80835c45d5d8f672edd0064a1d96c54d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Security for openstf-dbc 2.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.