Skip to content

PIT Accessor

For the shortest local bootstrap, use PITAccessor.open(path) and then call the snapshot or revision helpers you need.

alphaforge.pit.accessor

PITAccessor dataclass

open(root: str | Path) -> 'PITAccessor' classmethod

Open a PIT accessor from a DuckDBParquetStore root.

to_utc_aware(value)

Convert datetimes to UTC-aware for PIT accessor outputs.

to_utc_naive(value)

Convert datetimes to UTC-naive for DuckDB storage and predicates.