spotforecast2-safe 1.0.1__py3-none-any.whl → 1.0.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,113 @@
1
+ Metadata-Version: 2.3
2
+ Name: spotforecast2-safe
3
+ Version: 1.0.3
4
+ Summary: spotforecast2-safe (Core): Safety-critical time series forecasting for production
5
+ Author: bartzbeielstein
6
+ Author-email: bartzbeielstein <32470350+bartzbeielstein@users.noreply.github.com>
7
+ Requires-Dist: astral>=3.2
8
+ Requires-Dist: feature-engine>=1.9.3
9
+ Requires-Dist: flake8>=7.3.0
10
+ Requires-Dist: holidays>=0.90
11
+ Requires-Dist: ipykernel>=7.1.0
12
+ Requires-Dist: jupyter>=1.1.1
13
+ Requires-Dist: lightgbm>=4.6.0
14
+ Requires-Dist: matplotlib>=3.10.8
15
+ Requires-Dist: numba>=0.63.1
16
+ Requires-Dist: optuna>=4.7.0
17
+ Requires-Dist: pandas>=3.0.0
18
+ Requires-Dist: plotly>=6.5.2
19
+ Requires-Dist: pyarrow>=23.0.0
20
+ Requires-Dist: scikit-learn>=1.8.0
21
+ Requires-Dist: shap>=0.49.1
22
+ Requires-Dist: spotoptim>=0.0.160
23
+ Requires-Dist: tqdm>=4.67.2
24
+ Requires-Dist: pytest>=9.0.2 ; extra == 'dev'
25
+ Requires-Dist: pytest-cov>=6.0.0 ; extra == 'dev'
26
+ Requires-Dist: black>=24.1.0 ; extra == 'dev'
27
+ Requires-Dist: isort>=5.13.0 ; extra == 'dev'
28
+ Requires-Dist: ruff>=0.3.0 ; extra == 'dev'
29
+ Requires-Dist: mkdocs>=1.6.1 ; extra == 'dev'
30
+ Requires-Dist: mkdocs-material>=9.7.1 ; extra == 'dev'
31
+ Requires-Dist: mkdocstrings>=1.0.2 ; extra == 'dev'
32
+ Requires-Dist: mkdocstrings-python>=2.0.1 ; extra == 'dev'
33
+ Requires-Dist: safety>=3.0.0 ; extra == 'dev'
34
+ Requires-Dist: bandit>=1.8.0 ; extra == 'dev'
35
+ Requires-Python: >=3.13
36
+ Project-URL: Documentation, https://sequential-parameter-optimization.github.io/spotforecast2-safe/
37
+ Project-URL: Repository, https://github.com/sequential-parameter-optimization/spotforecast2-safe
38
+ Project-URL: Issues, https://github.com/sequential-parameter-optimization/spotforecast2-safe/issues
39
+ Provides-Extra: dev
40
+ Description-Content-Type: text/markdown
41
+
42
+ <div align="left">
43
+ <img src="logo/spotlogo.png" alt="spotforecast2-safe Logo" width="300">
44
+ </div>
45
+
46
+ # spotforecast2-safe (Core)
47
+
48
+ [![Python Version](https://img.shields.io/badge/python-3.13%2B-blue)](https://www.python.org/downloads/)
49
+ [![EU AI Act](https://img.shields.io/badge/EU%20AI%20Act-Ready-success)](MODEL_CARD.md)
50
+ [![Dependencies](https://img.shields.io/badge/dependencies-minimal-blue)](pyproject.toml)
51
+ [![Audit](https://img.shields.io/badge/audit-whitebox-brightgreen)](MODEL_CARD.md)
52
+ [![License](https://img.shields.io/github/license/sequential-parameter-optimization/spotforecast2-safe)](LICENSE)
53
+
54
+ **Testing & Quality**
55
+
56
+ [![Build Status](https://img.shields.io/github/actions/workflow/status/sequential-parameter-optimization/spotforecast2-safe/ci.yml?branch=main&label=Tests)](https://github.com/sequential-parameter-optimization/spotforecast2-safe/actions/workflows/ci.yml)
57
+ [![Documentation](https://img.shields.io/badge/docs-passing-brightgreen)](https://sequential-parameter-optimization.github.io/spotforecast2-safe/)
58
+ [![Reliability](https://img.shields.io/badge/robustness-fail--safe-orange)](MODEL_CARD.md)
59
+
60
+ **Status**
61
+
62
+ [![Maintenance](https://img.shields.io/badge/maintenance-active-green)](https://github.com/sequential-parameter-optimization/spotforecast2-safe)
63
+ [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
64
+
65
+
66
+
67
+ ## Safety-Critical Design
68
+
69
+ `spotforecast2-safe` is a specialized Python library designed for time series forecasting in **safety-critical production environments** and **embedded systems**.
70
+
71
+ Unlike standard ML libraries, it follows a strict **"Safety-First"** architecture:
72
+ - **Zero Dead Code**: The package contains no visualization (Plotly), optimization (Optuna), or training logic. This significantly simplifies code audits and minimizes the cybersecurity attack surface (CVE reduction).
73
+ - **Deterministic Logic**: Transformations are purely mathematical and deterministic. Identical inputs always yield identical, bit-perfect outputs.
74
+ - **Fail-Safe Operation**: Explicit rejection of incomplete or "dirty" data (NaNs/Infs). The system favors a controlled crash over a silent failure.
75
+ - **EU AI Act Compliance**: Engineered for transparency and data governance as required for high-risk AI components.
76
+
77
+ For a detailed technical audit of our safety mechanisms, see our **[MODEL_CARD.md](MODEL_CARD.md)**.
78
+
79
+ ## ⚠️ Disclaimer & Liability
80
+
81
+ **IMPORTANT**: This software is provided "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed.
82
+
83
+ In no event shall the authors, copyright holders, or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.
84
+
85
+ **The use of this software in safety-critical systems is at the sole risk of the user.**
86
+
87
+ ## Attributions
88
+
89
+ Parts of the code are ported from `skforecast` to reduce external dependencies.
90
+ Many thanks to the [skforecast team](https://skforecast.org/0.20.0/more/about-skforecast.html) for their great work!
91
+
92
+ ## Documentation
93
+
94
+ Documentation (API) is available at: [https://sequential-parameter-optimization.github.io/spotforecast2-safe/](https://sequential-parameter-optimization.github.io/spotforecast2-safe/)
95
+
96
+ ## License
97
+
98
+ `spotforecast2-safe` software: [BSD-3-Clause License](LICENSE)
99
+
100
+
101
+ # References
102
+
103
+ ## spotforecast2
104
+
105
+ The "full" version of `spotforecast2-safe`, which is named `spotforecast`, is available at: [https://sequential-parameter-optimization.github.io/spotforecast2/](https://sequential-parameter-optimization.github.io/spotforecast2/)
106
+
107
+ ## skforecast
108
+
109
+ * Amat Rodrigo, J., & Escobar Ortiz, J. (2026). skforecast (Version 0.20.0) [Computer software]. https://doi.org/10.5281/zenodo.8382788
110
+
111
+ ## spotoptim
112
+
113
+ * [spotoptim documentation](https://sequential-parameter-optimization.github.io/spotoptim/)
@@ -32,6 +32,6 @@ spotforecast2_safe/utils/generate_holiday.py,sha256=SHaPvPMt-abis95cChHf5ObyPwCT
32
32
  spotforecast2_safe/utils/validation.py,sha256=YfFn4OW-SJeJDioY0opkhY9ISGnZ075KIXdfxlSKlyw,21623
33
33
  spotforecast2_safe/weather/__init__.py,sha256=1Jco88pl0deNESgNATin83Nf5i9c58pxN7G-vNiOiu0,120
34
34
  spotforecast2_safe/weather/weather_client.py,sha256=Ec_ywug6uoa71MfXM8RNbXEvtBtBzr-SUS5xq_HKtZE,9837
35
- spotforecast2_safe-1.0.1.dist-info/WHEEL,sha256=iHtWm8nRfs0VRdCYVXocAWFW8ppjHL-uTJkAdZJKOBM,80
36
- spotforecast2_safe-1.0.1.dist-info/METADATA,sha256=vtse16DCG5t1mu64sBy_pikEdPPfr393uMkC2EGt_cI,4073
37
- spotforecast2_safe-1.0.1.dist-info/RECORD,,
35
+ spotforecast2_safe-1.0.3.dist-info/WHEEL,sha256=iHtWm8nRfs0VRdCYVXocAWFW8ppjHL-uTJkAdZJKOBM,80
36
+ spotforecast2_safe-1.0.3.dist-info/METADATA,sha256=6BXsAwrxu1YJ7K3ekLBLdn5HFizTaaMUBXVErDb8Hpc,5994
37
+ spotforecast2_safe-1.0.3.dist-info/RECORD,,
@@ -1,86 +0,0 @@
1
- Metadata-Version: 2.3
2
- Name: spotforecast2-safe
3
- Version: 1.0.1
4
- Summary: Safe forecasting with spot
5
- Author: bartzbeielstein
6
- Author-email: bartzbeielstein <32470350+bartzbeielstein@users.noreply.github.com>
7
- Requires-Dist: astral>=3.2
8
- Requires-Dist: feature-engine>=1.9.3
9
- Requires-Dist: flake8>=7.3.0
10
- Requires-Dist: holidays>=0.90
11
- Requires-Dist: ipykernel>=7.1.0
12
- Requires-Dist: jupyter>=1.1.1
13
- Requires-Dist: lightgbm>=4.6.0
14
- Requires-Dist: matplotlib>=3.10.8
15
- Requires-Dist: numba>=0.63.1
16
- Requires-Dist: optuna>=4.7.0
17
- Requires-Dist: pandas>=3.0.0
18
- Requires-Dist: plotly>=6.5.2
19
- Requires-Dist: pyarrow>=23.0.0
20
- Requires-Dist: scikit-learn>=1.8.0
21
- Requires-Dist: shap>=0.49.1
22
- Requires-Dist: spotoptim>=0.0.160
23
- Requires-Dist: tqdm>=4.67.2
24
- Requires-Dist: pytest>=9.0.2 ; extra == 'dev'
25
- Requires-Dist: pytest-cov>=6.0.0 ; extra == 'dev'
26
- Requires-Dist: black>=24.1.0 ; extra == 'dev'
27
- Requires-Dist: isort>=5.13.0 ; extra == 'dev'
28
- Requires-Dist: ruff>=0.3.0 ; extra == 'dev'
29
- Requires-Dist: mkdocs>=1.6.1 ; extra == 'dev'
30
- Requires-Dist: mkdocs-material>=9.7.1 ; extra == 'dev'
31
- Requires-Dist: mkdocstrings>=1.0.2 ; extra == 'dev'
32
- Requires-Dist: mkdocstrings-python>=2.0.1 ; extra == 'dev'
33
- Requires-Dist: safety>=3.0.0 ; extra == 'dev'
34
- Requires-Dist: bandit>=1.8.0 ; extra == 'dev'
35
- Requires-Python: >=3.13
36
- Provides-Extra: dev
37
- Description-Content-Type: text/markdown
38
-
39
- <div align="left">
40
- <img src="logo/spotlogo.png" alt="spotforecast2-safe Logo" width="300">
41
- </div>
42
-
43
- # spotforecast2-safe
44
-
45
- [![Python Version](https://img.shields.io/badge/python-3.13%2B-blue)](https://www.python.org/downloads/)
46
- [![PyPI Version](https://img.shields.io/pypi/v/spotforecast2-safe)](https://pypi.org/project/spotforecast2-safe/)
47
- [![PyPI Downloads](https://img.shields.io/pypi/dm/spotforecast2-safe)](https://pypi.org/project/spotforecast2-safe/)
48
- [![License](https://img.shields.io/badge/license-BSD--3--Clause-blue)](https://github.com/sequential-parameter-optimization/spotforecast2-safe/blob/main/LICENSE)
49
-
50
- **Testing & Quality**
51
-
52
- [![Build Status](https://img.shields.io/github/actions/workflow/status/sequential-parameter-optimization/spotforecast2-safe/ci.yml?branch=main&label=Tests)](https://github.com/sequential-parameter-optimization/spotforecast2-safe/actions/workflows/ci.yml)
53
- [![Documentation](https://img.shields.io/badge/docs-passing-brightgreen)](https://sequential-parameter-optimization.github.io/spotforecast2-safe/)
54
- [![GitHub Release](https://img.shields.io/github/v/release/sequential-parameter-optimization/spotforecast2-safe)](https://github.com/sequential-parameter-optimization/spotforecast2-safe/releases)
55
-
56
- **Status**
57
-
58
- [![Maintenance](https://img.shields.io/badge/maintenance-active-green)](https://github.com/sequential-parameter-optimization/spotforecast2-safe)
59
- [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
60
-
61
- ## About spotforecast2-safe
62
-
63
- `spotforecast2-safe` is a Python library for time series forecasting in safety-critical environments. It is designed with EU AI Act principles in mind: Minimal dependency footprint for enhanced cybersecurity, deterministic data transformation for reproducibility, and strict error handling for robustness in safety-critical pipelines.
64
-
65
-
66
- Parts of the code are ported from `skforecast` to reduce external dependencies.
67
- Many thanks to the [skforecast team](https://skforecast.org/0.20.0/more/about-skforecast.html) for their great work!
68
-
69
- ## Documentation
70
-
71
- Documentation (API) is available at: [https://sequential-parameter-optimization.github.io/spotforecast2-safe/](https://sequential-parameter-optimization.github.io/spotforecast2-safe/)
72
-
73
- ## License
74
-
75
- `spotforecast2-safe` software: [BSD-3-Clause License](https://github.com/sequential-parameter-optimization/spotforecast2-safe?tab=BSD-3-Clause-1-ov-file)
76
-
77
-
78
- # References
79
-
80
- ## skforecast:
81
-
82
- * Amat Rodrigo, J., & Escobar Ortiz, J. (2026). skforecast (Version 0.20.0) [Computer software]. https://doi.org/10.5281/zenodo.8382788
83
-
84
- ## spotoptim:
85
-
86
- * [spotoptim documentation](https://sequential-parameter-optimization.github.io/spotoptim/)