API Reference
Core classes are importable directly from aitaem:
Helpers are importable from aitaem.helpers:
Class Overview
| Class | Module | Purpose |
|---|---|---|
MetricCompute |
aitaem.insights |
Primary interface — compute metrics |
SpecCache |
aitaem.specs.loader |
Load and cache YAML specs |
MetricSpec |
aitaem.specs.metric |
Metric spec dataclass |
SliceSpec |
aitaem.specs.slice |
Slice spec dataclass |
SegmentSpec |
aitaem.specs.segment |
Segment spec dataclass |
ConnectionManager |
aitaem.connectors.connection |
Manage backend connections (DuckDB, BigQuery, PostgreSQL) |
Helpers Overview
| Function | Module | Purpose |
|---|---|---|
load_csvs_to_duckdb |
aitaem.helpers |
Load CSV file(s) into a DuckDB database |