marketflows.app

Run pipeline to query providers, analyze data, and create graphs.

Functions

run_pipeline(*, secrets_path, config_path, ...)

Run complete MarketFlows pipeline for querying provider, analyzing data, and plotting.

marketflows.app.run_pipeline(*, secrets_path, config_path, out_dir, is_tutorial=False)

Run complete MarketFlows pipeline for querying provider, analyzing data, and plotting.

In tutorial mode:
  • config is loaded from the packaged tutorial config

  • provider data is loaded from packaged local files (no secrets, no network)

Parameters:
  • secrets_path (Path) – Secrets file (ignored in tutorial mode).

  • config_path (Path) – Config file (ignored in tutorial mode).

  • out_dir (Path) – Output directory for plots/tables.

  • is_tutorial (bool, default: False) – If True, run offline tutorial pipeline.

Return type:

None