h5i-db documentation#

h5i-db is a fast analytical database for quantitative finance and time-series workloads: an embedded, versioned store with DataFusion SQL, native ASOF joins, and previewable mutations. It is written in Rust, driven from the CLI or Python, and built to be safe in the hands of AI agents.

A database is a single directory on disk: like SQLite or DuckDB, there is no server process. Data lives in immutable, time-sorted Parquet segments; every write is an atomic commit that produces a new version, and any past version stays readable forever:

$ h5i-db init market.db
$ h5i-db ingest market.db trades ticks.parquet
$ h5i-db query market.db "SELECT symbol, vwap(price, size) FROM trades GROUP BY symbol"
import h5i_db

db = h5i_db.Database("market.db")
df = db.sql("SELECT * FROM h5i('trades', 42)").to_pandas()   # time travel

What makes it different#

Finding your way around#

Where to go next#