We recommend using the latest version. Check PyPI for the current release.
Security Features & Design Goals
spotforecast2-safe is designed with security in mind:
Zero Dead Code - No GUI components, plotting libraries, or AutoML frameworks - Minimal external dependencies (see below) - Reduced attack surface for supply chain security
Deterministic Operations - All transformations are bit-level reproducible - Predictable behavior enables auditing - No hidden randomness or stochastic operations
Fail-Safe Processing - All transformations validate input data - Invalid data raises explicit errors - No silent failures or data imputation - NaNs and Infs are rejected immediately
Minimal Dependencies
Core dependencies are carefully selected to minimize the CVE surface:
astral - Solar position calculations
feature-engine - Feature preprocessing
flake8 - Code linting
holidays - Holiday calendars
lightgbm - Gradient boosting (optional)
numba - JIT compilation
pandas - Data handling
pyarrow - Parquet/Arrow support
requests - HTTP client
scikit-learn - ML utilities
tqdm - Progress bars
Supply Chain Security Measures
✅ Dependencies pinned with compatible release specifiers
✅ Dependabot enabled for automated dependency updates
✅ GitHub Actions pinned to specific commit hashes
✅ REUSE compliance for license tracking of all code