badc.aggregate_apiΒΆ
High-level helpers for working with canonical detection artifacts in Python.
The Typer CLI exposes aggregation/report commands, but notebooks/tests often
need a lightweight API that returns DetectionRecord objects or pandas
DataFrames without shelling out to the CLI. This module wraps the underlying
badc.aggregate functions plus badc.duckdb_helpers so downstream
code can load detections, write CSV/Parquet artifacts, and open DuckDB bundles
directly.
Functions
|
Load detections and optionally write CSV/Parquet artifacts. |
|
Convert |
|
Return pandas DataFrames for a DuckDB bundle produced by |
|
Load detection records directly into a pandas DataFrame. |
|
Return canonical detection records for |