<!--
SPDX-FileCopyrightText: 2021 2017-2021 Alliander N.V. <korte.termijn.prognoses@alliander.com>
SPDX-License-Identifier: MPL-2.0
-->
[![Python Build](https://github.com/alliander-opensource/openstf-dbc/actions/workflows/python-build.yaml/badge.svg?branch=master)](https://github.com/alliander-opensource/openstf-dbc/actions/workflows/python-build.yaml)
[![REUSE Compliance Check](https://github.com/alliander-opensource/openstf-dbc/actions/workflows/reuse-compliance.yml/badge.svg?branch=master)](https://github.com/alliander-opensource/openstf-dbc/actions/workflows/reuse-compliance.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=alliander-opensource_openstf-dbc&metric=alert_status)](https://sonarcloud.io/dashboard?id=alliander-opensource_openstf-dbc)
# 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.database import DataBase
db = DataBase()
pj = db.get_prediction_job(307)
```
## Contributing
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
## Contact
korte.termijn.prognoses@alliander.com
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
资源分类:Python库 所属语言:Python 资源全名:openstf_dbc-1.0.5.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
openstf_dbc-1.0.5.tar.gz (38个子文件)
openstf_dbc-1.0.5
PKG-INFO 3KB
LICENSE 15KB
setup.cfg 164B
setup.py 2KB
openstf_dbc
models
measurement.py 616B
__init__.py 133B
switch_state.py 493B
log
processors.py 1KB
__init__.py 133B
logging.py 9KB
data_interface.py 7KB
config
utils.py 2KB
enums.py 301B
builder.py 6KB
__init__.py 133B
config.py 2KB
data
featuresets.py 10KB
__init__.py 133B
database.py 4KB
__main__.py 133B
__init__.py 311B
ktp_api.py 13KB
services
predictor.py 2KB
ems.py 15KB
prediction_job.py 12KB
predictions.py 6KB
systems.py 4KB
__init__.py 133B
splitting.py 9KB
model_input.py 11KB
weather.py 12KB
write.py 15KB
openstf_dbc.egg-info
PKG-INFO 3KB
requires.txt 171B
SOURCES.txt 1KB
top_level.txt 12B
dependency_links.txt 1B
README.md 2KB
共 38 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功