backend#

Abstract base class for Report DataFrame backends.

This module defines the FrameBackend abstract base class used by Report to perform IO and filtering operations without depending on a specific DataFrame library (e.g. pandas or polars).

Backends are implemented as subclasses providing concrete behaviour.

Functions

get_report_columns(report_type)

Return the expected tabular columns for a report type.

get_report_source(stats_path, report_type, ...)

Return the source path for a given report type and format.

list_parquet_parts(path)

List parquet part files under a report directory.

load_jsonl_rows(path, report_type)

Load JSONL report entries and normalise them into tabular rows.

Classes

FrameBackend

Abstract base class defining the minimal DataFrame backend API.