Skip to main content

Crate tetration

Crate tetration 

Source
Expand description

tetration — Rust library for the Tetration mmap-oriented chunked tensor format.

Public API: catalog, convert, export, layout, query, verify, repair, and prelude for common embedder imports. The companion CLI is tet (src/bin/tet.rs, src/bin/tet/).

Embedder walkthrough: cargo run --example session_write (or create_and_query, inspect_catalog; file health: tet verify / verify).

Modules§

catalog
Dataset directory and chunk index (layout v1 extension).
convert
Foreign format → .tet conversion (Phase 5).
export
.tet → foreign interchange export (Zarr v3 directory store).
ffi
Stable C ABI for embedders (Phase 11). Enable with feature tetration-ffi.
layout
On-disk layout v1: fixed superblock at offset 0.
prelude
Common embedder imports: query document types, parse/validate/plan, mmap open.
query
JSON query documents: validated plans, execution, and CLI formatters.
repair
In-place .tet repairs (invoked by tet repair or tet verify --repair).
verify
.tet file health verification (layout, chunk integrity, footer).