openstef-dbc


Nameopenstef-dbc JSON
Version 3.8.3 PyPI version JSON
download
home_pagehttps://github.com/openstef/openstef-dbc
SummaryDatabase Connection for OpenSTEF
upload_time2025-08-11 08:15:13
maintainerNone
docs_urlNone
authorAlliander N.V
requires_python>=3.7.0
licenseMPL-2.0
keywords database energy forecasting machinelearning
VCS
bugtrack_url
requirements ciso8601 geopy openstef pydantic-settings influxdb-client mysql-connector-python psycopg2-binary PyMySQL PyYAML requests SQLAlchemy
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!--
SPDX-FileCopyrightText: 2017-2022 Contributors to the OpenSTEF project <korte.termijn.prognoses@alliander.com>

SPDX-License-Identifier: MPL-2.0
-->
[![Python Build](https://github.com/openstef/openstef-dbc/actions/workflows/python-build.yaml/badge.svg?branch=master)](https://github.com/openstef/openstef-dbc/actions/workflows/python-build.yaml)
[![REUSE Compliance Check](https://github.com/openstef/openstef-dbc/actions/workflows/reuse-compliance.yml/badge.svg?branch=master)](https://github.com/openstef/openstef-dbc/actions/workflows/reuse-compliance.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=OpenSTEF_openstef-dbc&metric=alert_status)](https://sonarcloud.io/dashboard?id=OpenSTEF_openstef-dbc)



# Openstef-dbc - Database connector for openstef (reference)

This repository houses the python package [openstef-dbc](https://pypi.org/project/openstef-dbc/), which provides a database interface to OpenSTEF (reference). It can be usefull to explore [openstef](https://github.com/openstef/short-term-forecasting) and [openstef-reference](https://github.com/openstef/openstef-reference). 

## Table of contents 
- [Install](#install)
- [Usage](#usage)
- [License](#license)
- [Licenses third-party libraries](#licenses-third-party-libraries)
- [Contributing](#contributing)
- [Contact](##contact)

## Install

1. Install by running
   ```shell
   pip install openstef-dbc
   ``` 
3. 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:

```python
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](https://github.com/OpenSTEF/.github/blob/main/CODE_OF_CONDUCT.md), [CONTRIBUTING.md](https://github.com/OpenSTEF/.github/blob/main/CONTRIBUTING.md) and [PROJECT_GOVERNANACE.md](https://github.com/OpenSTEF/.github/blob/main/PROJECT_GOVERNANCE.md) for details on the process for submitting pull requests to us.

## Contact
Please read [SUPPORT.md](https://github.com/OpenSTEF/.github/blob/main/SUPPORT.md) for how to connect and get into contact with the OpenSTEF project

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/openstef/openstef-dbc",
    "name": "openstef-dbc",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7.0",
    "maintainer_email": null,
    "keywords": "database, energy, forecasting, machinelearning",
    "author": "Alliander N.V",
    "author_email": "korte.termijn.prognoses@alliander.com",
    "download_url": "https://files.pythonhosted.org/packages/e6/e2/0de35db5e3530e895d545adfc6203f40cd8ddf2411a42cdbb5e6ea09d46a/openstef_dbc-3.8.3.tar.gz",
    "platform": null,
    "description": "<!--\nSPDX-FileCopyrightText: 2017-2022 Contributors to the OpenSTEF project <korte.termijn.prognoses@alliander.com>\n\nSPDX-License-Identifier: MPL-2.0\n-->\n[![Python Build](https://github.com/openstef/openstef-dbc/actions/workflows/python-build.yaml/badge.svg?branch=master)](https://github.com/openstef/openstef-dbc/actions/workflows/python-build.yaml)\n[![REUSE Compliance Check](https://github.com/openstef/openstef-dbc/actions/workflows/reuse-compliance.yml/badge.svg?branch=master)](https://github.com/openstef/openstef-dbc/actions/workflows/reuse-compliance.yml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=OpenSTEF_openstef-dbc&metric=alert_status)](https://sonarcloud.io/dashboard?id=OpenSTEF_openstef-dbc)\n\n\n\n# Openstef-dbc - Database connector for openstef (reference)\n\nThis repository houses the python package [openstef-dbc](https://pypi.org/project/openstef-dbc/), which provides a database interface to OpenSTEF (reference). It can be usefull to explore [openstef](https://github.com/openstef/short-term-forecasting) and [openstef-reference](https://github.com/openstef/openstef-reference). \n\n## Table of contents \n- [Install](#install)\n- [Usage](#usage)\n- [License](#license)\n- [Licenses third-party libraries](#licenses-third-party-libraries)\n- [Contributing](#contributing)\n- [Contact](##contact)\n\n## Install\n\n1. Install by running\n   ```shell\n   pip install openstef-dbc\n   ``` \n3. Enjoy!\n\n## Usage\n\nThis is a package with functionality to support the openstef workflow. Most important is the DataBase class.\nThis 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:\n\n```python\nfrom openstef_dbc.database import DataBase\n\ndb = DataBase(config)\n\npj = db.get_prediction_job(307)\n```\nWhere `config` is a `pydantic.BaseSettings` object.\n\n## License\nThis project is licensed under the Mozilla Public License, version 2.0 - see LICENSE for details.\n\n## Licenses third-party libraries\nThis 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.\n\n## Contributing\nPlease read [CODE_OF_CONDUCT.md](https://github.com/OpenSTEF/.github/blob/main/CODE_OF_CONDUCT.md), [CONTRIBUTING.md](https://github.com/OpenSTEF/.github/blob/main/CONTRIBUTING.md) and [PROJECT_GOVERNANACE.md](https://github.com/OpenSTEF/.github/blob/main/PROJECT_GOVERNANCE.md) for details on the process for submitting pull requests to us.\n\n## Contact\nPlease read [SUPPORT.md](https://github.com/OpenSTEF/.github/blob/main/SUPPORT.md) for how to connect and get into contact with the OpenSTEF project\n",
    "bugtrack_url": null,
    "license": "MPL-2.0",
    "summary": "Database Connection for OpenSTEF",
    "version": "3.8.3",
    "project_urls": {
        "Homepage": "https://github.com/openstef/openstef-dbc"
    },
    "split_keywords": [
        "database",
        " energy",
        " forecasting",
        " machinelearning"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "1b10b7ec54724b80ee3a97dc1d470c7ee4a44572d493dea147448095a3361cb6",
                "md5": "31a4141cea30e6a216801ce90c0be30e",
                "sha256": "81d9d7ae65b82e0dcdbf9b59d3fca9a24d822d8c1ec4adc8fb2f464adafedbec"
            },
            "downloads": -1,
            "filename": "openstef_dbc-3.8.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "31a4141cea30e6a216801ce90c0be30e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7.0",
            "size": 57834,
            "upload_time": "2025-08-11T08:15:11",
            "upload_time_iso_8601": "2025-08-11T08:15:11.547003Z",
            "url": "https://files.pythonhosted.org/packages/1b/10/b7ec54724b80ee3a97dc1d470c7ee4a44572d493dea147448095a3361cb6/openstef_dbc-3.8.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e6e20de35db5e3530e895d545adfc6203f40cd8ddf2411a42cdbb5e6ea09d46a",
                "md5": "f39d9b645585e70cf771585625c85938",
                "sha256": "ad7a48ae2e5a0f8cb2e4958cf5d9fb22e6a81d1a179a9ed2a6701d3853a6ac98"
            },
            "downloads": -1,
            "filename": "openstef_dbc-3.8.3.tar.gz",
            "has_sig": false,
            "md5_digest": "f39d9b645585e70cf771585625c85938",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7.0",
            "size": 47684,
            "upload_time": "2025-08-11T08:15:13",
            "upload_time_iso_8601": "2025-08-11T08:15:13.114670Z",
            "url": "https://files.pythonhosted.org/packages/e6/e2/0de35db5e3530e895d545adfc6203f40cd8ddf2411a42cdbb5e6ea09d46a/openstef_dbc-3.8.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-11 08:15:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "openstef",
    "github_project": "openstef-dbc",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "ciso8601",
            "specs": [
                [
                    "~=",
                    "2.3.0"
                ]
            ]
        },
        {
            "name": "geopy",
            "specs": [
                [
                    "~=",
                    "2.3.0"
                ]
            ]
        },
        {
            "name": "openstef",
            "specs": [
                [
                    "~=",
                    "3.4.4"
                ]
            ]
        },
        {
            "name": "pydantic-settings",
            "specs": [
                [
                    ">=",
                    "2.1.0"
                ],
                [
                    "<",
                    "3.0.0"
                ]
            ]
        },
        {
            "name": "influxdb-client",
            "specs": [
                [
                    "~=",
                    "1.36.1"
                ]
            ]
        },
        {
            "name": "mysql-connector-python",
            "specs": [
                [
                    ">=",
                    "9.1.0"
                ]
            ]
        },
        {
            "name": "psycopg2-binary",
            "specs": [
                [
                    "~=",
                    "2.9.6"
                ]
            ]
        },
        {
            "name": "PyMySQL",
            "specs": [
                [
                    "~=",
                    "1.0.2"
                ]
            ]
        },
        {
            "name": "PyYAML",
            "specs": [
                [
                    "~=",
                    "6.0"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "~=",
                    "2.28.1"
                ]
            ]
        },
        {
            "name": "SQLAlchemy",
            "specs": []
        }
    ],
    "lcname": "openstef-dbc"
}
        
Elapsed time: 0.57178s