Skip to main content

Open short term energy forecaster

Project description

OpenSTEF

Downloads Downloads CII Best Practices

Note: OpenSTEF v4 is actively under development in the release/v4.0.0 feature branch. Pre-releases are already available on PyPI, give them a try and share your feedback!

OpenSTEF is a Python package designed for generating short-term forecasts in the energy sector. The repository includes all the essential components required for machine learning pipelines that facilitate the forecasting process. To utilize the package, users are required to furnish their own data storage and retrieval interface.

Table of contents

External information sources

Installation

Install the openstef package

pip install openstef

Remark regarding installation within a conda environment on Windows

A version of the pywin32 package will be installed as a secondary dependency along with the installation of the openstef package. Since conda relies on an old version of pywin32, the new installation can break conda's functionality. The following command can solve this issue:

pip install pywin32==300

For more information on this issue see the readme of pywin32 or this Github issue.

Remark regarding installation on Apple Silicon

If you want to install the openstef package on Apple Silicon (Mac with M1-chip or newer), you can encounter issues with the dependencies, such as xgboost. Solution:

  1. Run brew install libomp (if you haven’t installed Homebrew: follow instructions here)
  2. If your interpreter can not find the libomp installation in /usr/local/bin, it is probably in /opt/brew/Cellar. Run:
mkdir -p /usr/local/opt/libomp/
ln -s /opt/brew/Cellar/libomp/{your_version}/lib /usr/local/opt/libomp/lib
  1. Uninstall xgboost with pip (pip uninstall xgboost) and install with conda-forge (conda install -c conda-forge xgboost)
  2. If you encounter similar issues with lightgbm: uninstall lightgbm with pip (pip uninstall lightgbm) and install later version with conda-forge (conda install -c conda-forge 'lightgbm>=4.2.0')

Remark regarding installation with minimal XGBoost dependency

It is possible to install openSTEF with a minimal XGBoost (CPU-only) package. This only works on x86_64 (amd64) Linux and Windows platforms. Advantage is that significantly smaller dependencies are installed. In that case run:

pip install openstef[cpu]

Usage

Example notebooks

To help you get started, a set of fundamental example notebooks has been created. You can access these offline examples here.

Reference Implementation

A complete implementation including databases, user interface, example data, etc. is available at: https://github.com/OpenSTEF/openstef-reference

screenshot Screenshot of the operational dashboard showing the key functionality of OpenSTEF. Dashboard documentation can be found here.

To run a task use:

python -m openstef task <task_name>

Database connector for openstef

This repository provides an interface to OpenSTEF (reference) databases. The repository can be found here.

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_GOVERNANCE.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

openstef-3.4.93.tar.gz (249.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openstef-3.4.93-py3-none-any.whl (304.0 kB view details)

Uploaded Python 3

File details

Details for the file openstef-3.4.93.tar.gz.

File metadata

  • Download URL: openstef-3.4.93.tar.gz
  • Upload date:
  • Size: 249.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openstef-3.4.93.tar.gz
Algorithm Hash digest
SHA256 296bb296b0b019ce1a1d0961ef52dfaafedf33b432147b1947dcb1aa4a33ac37
MD5 185fb57df8f4ff6fcda67ff10e6de477
BLAKE2b-256 6deb4aba653ecf0b3f30b4868795820e8f563869e5430d270a680a2043740a0e

See more details on using hashes here.

Provenance

The following attestation bundles were made for openstef-3.4.93.tar.gz:

Publisher: python-upload-package.yaml on OpenSTEF/openstef

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openstef-3.4.93-py3-none-any.whl.

File metadata

  • Download URL: openstef-3.4.93-py3-none-any.whl
  • Upload date:
  • Size: 304.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openstef-3.4.93-py3-none-any.whl
Algorithm Hash digest
SHA256 298224e1b3a0b0d7dacbe1f104f6ad28c9b7f9d4333594065da85fb59ffaea81
MD5 caea43e7c13b81b4e9a39cb2a7e97f76
BLAKE2b-256 9e1b16ac9b92873377625b7066e644d4ec9cbf3975ae2ffb338d07dcabbcbda3

See more details on using hashes here.

Provenance

The following attestation bundles were made for openstef-3.4.93-py3-none-any.whl:

Publisher: python-upload-package.yaml on OpenSTEF/openstef

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page