Execute analytics in Python

Engine runs a project's saved build bundle. It returns the resulting dataframes and records a preview, logs, and run metadata under artifacts/run/.

# example
from uptimely import Uptimely

app = Uptimely()
result = app.run()

Pass validate=True to check analytical contracts during execution. Targeted operator execution is not currently supported. See runtime validation and run artifacts for details.

Read a saved run

Use RunStore to read the latest run without running the project:

import pathlib
from uptimely import run

store = run.RunStore(pathlib.Path("example"))
manifest = store.read_manifest()
sample = store.read_preview("pump_profile", run_id=manifest.run_id)

See the Saved runs reference for run consistency checks and storage interfaces.