Skip to main content

OPERA: Open-Source Prediction Evaluation and Real-Time Analysis

Documentation | Add your own model

OPERA is a modular ecosystem designed to support the use of time-series models in real-time settings and foster open collaboration. It comprises the following modules:

  • opera-eco pins compatible releases and supplies documentation, AI skills, and integration tests.
  • forecast_evaluation validates vintaged outturns and forecasts and provides evaluation and visualisation capabilities.
  • forecast_realtime runs models across data vintages.
  • forecast_combo combines forecasts through averaging, regression, error-based weighting, or hierarchies.
  • news_decomp attributes nowcast levels and revisions to news, re-estimation, and interaction.

OPERA supports a broad range of models through wrappers for libraries such as scikit-learn and R's fable. You can also add your own model. In addition to these wrappers, OPERA includes models with native support:

  • bvar provides tools for working with Bayesian VARs.
  • nowcast-midas nowcasts quarterly targets from higher-frequency indicators using MIDAS and combination techniques.

Architecture

Forecasting Ecosystem Architecture


Quick Start

pip install opera-eco              # Install the CLI and skills only.
pip install "opera-eco[modules]"  # Install the CLI and all ecosystem packages.
pip install "opera-eco[notebooks]" # Install Marimo notebook tooling.
opera install skills               # Install the bundled AI skills.

Then ask Copilot or Claude to use an installed skill:

Tell me about @opera and how I can use it with my model.

Project Layout

docs/                            # Documentation site.
examples/illustration.py        # Runnable end-to-end example.
examples/illustration_marimo.py # Native Marimo version of the example.
src/opera/                      # Package source, bundled skills, and tests.
  cli.py                        # Command-line interface.
  skills_manager.py             # Skill discovery and installation.
  skills/                       # Bundled Markdown skill files.
pyproject.toml                  # Python package configuration.
zensical.toml                   # Documentation site configuration.

Data Classification

Bank of England Data Classification: OFFICIAL BLUE

Metadata

Release files for opera-eco 0.4.20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opera-eco 0.4.20
File Size Uploaded Provenance Actions
opera_eco-0.4.20.tar.gz 87.8 kB With provenance Details for opera_eco-0.4.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for opera-eco 0.4.20
File Interpreter ABI Platform Actions
opera_eco-0.4.20-py3-none-any.whl Python 3 none any Details for opera_eco-0.4.20-py3-none-any.whl

Total release size: 190.0 kB

Release files / opera_eco-0.4.20.tar.gz

Download URL opera_eco-0.4.20.tar.gz
Size 87.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b5d3f971f1fbad15f271376d4ea8a951aae875e2b49e401944e7a7dd4db9a914
BLAKE2b-256 checksum
How to use checksums
e97eecc8ba3baa6ef97fdc5579f31bba5d4db1e64eaf7fe91684a18f5718db87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Release files / opera_eco-0.4.20-py3-none-any.whl

Download URL opera_eco-0.4.20-py3-none-any.whl
Size 102.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be993618e8c307785c91267a47c3a9cbc2e106285d2fff63198d2f8b067b5a80
BLAKE2b-256 checksum
How to use checksums
1139cf01e752074490154094420ab5d1e17b0968dddd807b590819ad490c017c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Security for opera-eco 0.4.20

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for opera_eco-0.4.20.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page