<div align="left">
  <img src="https://raw.githubusercontent.com/sequential-parameter-optimization/spotforecast2/main/logo/spotlogo.png" alt="spotforecast2 Logo" width="300">
</div>

# spotforecast2

[![Python Version](https://img.shields.io/badge/python-3.13%2B-blue)](https://www.python.org/downloads/)
[![PyPI Version](https://img.shields.io/pypi/v/spotforecast2)](https://pypi.org/project/spotforecast2/)
[![PyPI Downloads](https://img.shields.io/pypi/dm/spotforecast2)](https://pypi.org/project/spotforecast2/)
[![Total Downloads](https://static.pepy.tech/badge/spotforecast2)](https://pepy.tech/project/spotforecast2)
[![License](https://img.shields.io/github/license/sequential-parameter-optimization/spotforecast2)](LICENSE)

**Testing & Quality**

[![Build Status](https://img.shields.io/github/actions/workflow/status/sequential-parameter-optimization/spotforecast2/ci.yml?branch=main&label=Tests)](https://github.com/sequential-parameter-optimization/spotforecast2/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/sequential-parameter-optimization/spotforecast2/branch/main/graph/badge.svg)](https://codecov.io/gh/sequential-parameter-optimization/spotforecast2)
[![REUSE Compliance](https://api.reuse.software/badge/github.com/sequential-parameter-optimization/spotforecast2)](https://api.reuse.software/project/github.com/sequential-parameter-optimization/spotforecast2)
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/sequential-parameter-optimization/spotforecast2/badge)](https://scorecard.dev/viewer/?uri=github.com/sequential-parameter-optimization/spotforecast2)
[![Documentation](https://img.shields.io/badge/docs-passing-brightgreen)](https://sequential-parameter-optimization.github.io/spotforecast2/)
[![GitHub Release](https://img.shields.io/github/v/release/sequential-parameter-optimization/spotforecast2)](https://github.com/sequential-parameter-optimization/spotforecast2/releases)

**Status**

[![Maintenance](https://img.shields.io/badge/maintenance-active-green)](https://github.com/sequential-parameter-optimization/spotforecast2)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

## About spotforecast2

`spotforecast2` is an extension of the `spotforecast-safe` Python library for time series forecasting in safety-critical applications.


## Documentation

 Documentation (API) is available at: [https://sequential-parameter-optimization.github.io/spotforecast2/](https://sequential-parameter-optimization.github.io/spotforecast2/)

## License

`spotforecast2` software: [AGPL-3.0-or-later License](LICENSE)


## Attributions

Parts of the code are ported from `skforecast` to reduce external dependencies.
Many thanks to the [skforecast team](https://skforecast.org/0.20.0/more/about-skforecast.html) for their great work!



# References

## spotforecast2-safe

* [spotforecast2-safe documentation](https://sequential-parameter-optimization.github.io/spotforecast2-safe/)
* [spotforecast2-safe GitHub](https://github.com/sequential-parameter-optimization/spotforecast2-safe)

## skforecast: 

* Amat Rodrigo, J., & Escobar Ortiz, J. (2026). skforecast (Version 0.20.0) [Computer software]. https://doi.org/10.5281/zenodo.8382788 

## spotoptim:

* [spotoptim documentation](https://sequential-parameter-optimization.github.io/spotoptim/)