Install
PyPI (recommended)
pip install tet-pyRequires Python 3.11+. Wheels ship for common Linux (x86_64, aarch64), macOS (universal2), and Windows targets. The package depends on NumPy 2.x.
Verify:
import tet
print(tet.__version__) # tet-py release, e.g. 0.8.3
print(tet.core_version()) # linked tetration crate, e.g. 0.8.3Optional convert / export extras (install what you need):
pip install "tet-py[h5]" # HDF5 via h5py (convert + export)
pip install "tet-py[netcdf]" # NetCDF via netCDF4 (convert + export)
pip install "tet-py[zarr]" # Zarr (convert + export)
pip install "tet-py[parquet]" # Parquet via pyarrow (convert only)
pip install "tet-py[export]" # h5 + netcdf + zarr (export side)
pip install "tet-py[convert]" # all convert extras (includes parquet)Core .npy / .npz / .csv / .tsv convert needs no extras.
Build from source
For development or unreleased fixes:
git clone https://github.com/Latka-Industries/tet-py.git
cd tet-pyWith uv (recommended in repo):
uv sync --extra dev
uv run maturin develop
uv run pytest -qWith pip:
pip install maturin
maturin develop --release
pip install -e .Build requirements:
- Python 3.11+
- Rust 1.95+
- maturin 1.7+
Release builds pin tetration from crates.io (currently 0.8.3, with the tetration-s3 feature) — no sibling tetration checkout required.
Install the CLI (optional)
tet-py does not require the tet binary, but it is useful for convert, verify, and shell workflows:
macOS — Homebrew:
brew tap Latka-Industries/tetration https://github.com/Latka-Industries/tetration
brew install tetrationcargo:
cargo install tetrationDefault features need system HDF5 and NetCDF dev libraries for tet convert. Without them:
cargo install tetration --no-default-featurestet info, tet query, and Zarr import still work.