Skip to main content

Open Short Term Energy forecasting library

Project description

OpenSTEF

Downloads Downloads CII Best Practices

OpenSTEF is a modular library for creating short-term forecasts in the energy sector. Version 4.0 introduces a complete architectural refactor with enhanced modularity, type safety, and modern Python development practices.

What's New in 4.0

  • Modular Architecture: Install only the components you need
  • Modern Tooling: Built with uv, ruff, pyright, and poe for optimal developer experience
  • Full Type Safety: Comprehensive type hints throughout the codebase
  • Monorepo Structure: Unified development with specialized packages
  • Enhanced Workflows: Streamlined development and contribution processes

Table of Contents

Quick Start

# Install OpenSTEF
pip install openstef

# Start forecasting
python -c "import openstef_models; print('OpenSTEF 4.0 ready!')"

Get started with our Quick Start Guide - step-by-step tutorial with real examples.

Package Architecture

OpenSTEF 4.0 uses a modular design with specialized packages:

Package Purpose Install Command
openstef Meta-package with core components pip install openstef
openstef-models ML models, feature engineering, data processing pip install openstef-models
openstef-beam Backtesting, Evaluation, Analysis, Metrics pip install openstef-beam
openstef-core Core utilities, dataset types, shared types and base models used by other packages pip install openstef-core
openstef-compatibility OpenSTEF 3.x compatibility layer Coming soon
openstef-foundational-models Deep learning and foundational models Coming soon

Learn more about the architecture in our documentation.

Installation

Requirements

  • Python 3.12+ (Python 3.13 supported)
  • 64-bit operating system (Windows, macOS, Linux)

Basic Installation

# For most users
pip install openstef

# Core forecasting only
pip install openstef-models

# With all optional tools
pip install "openstef[all]"

Modern Package Managers

# Using uv (recommended for development)
uv add openstef

# Using conda
conda install -c conda-forge openstef

Complete Installation Guide - detailed instructions including troubleshooting for Apple Silicon, GPU support, and development setup.

Documentation

Contributing

We welcome contributions to OpenSTEF 4.0!

Read our Contributing Guide - documentation for contributors including:

  • How to report bugs and suggest features
  • Documentation improvements and examples
  • Code contributions and development setup
  • Sharing datasets and real-world use cases

Quick Development Setup

# Clone and set up for development
git clone https://github.com/OpenSTEF/openstef.git
cd openstef
uv sync --dev

# Run tests and quality checks
uv run poe all

Code of Conduct: We follow the Contributor Code of Conduct to ensure a welcoming environment for all contributors.

License

Mozilla Public License Version 2.0 - see LICENSE.md for details.

This project includes third-party libraries licensed under their respective Open-Source licenses. SPDX-License-Identifier headers show applicable licenses. License files are in the LICENSES/ directory.

Contact & Support

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-4.0.0a25.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

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

openstef-4.0.0a25-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file openstef-4.0.0a25.tar.gz.

File metadata

  • Download URL: openstef-4.0.0a25.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for openstef-4.0.0a25.tar.gz
Algorithm Hash digest
SHA256 69b76a9210cf854730c1220cd9e12ad64010d8bab12ac7072a7da2ff180ce907
MD5 b519859c21e2ddc0f1228058b5e9b3d2
BLAKE2b-256 8e76405c69d85c7c2f2b7fc072cc86512291b048c083d1884c2b3ca1c72ec271

See more details on using hashes here.

File details

Details for the file openstef-4.0.0a25-py3-none-any.whl.

File metadata

  • Download URL: openstef-4.0.0a25-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for openstef-4.0.0a25-py3-none-any.whl
Algorithm Hash digest
SHA256 3410b1fd16bc297f5f1d8afe8b9565b5e66fcc0b06d6febefd34f21a1a02d0e8
MD5 d91ad9f70d8d88b94894bf9e28e8159e
BLAKE2b-256 4bce5d5e288bc633a0115c4e68faf1c2791be84fb9a3c9c9b8923e25a91f5ef3

See more details on using hashes here.

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