Installation
Install binal
binal needs Python 3.13 or newer. Add it to a uv project:
uv add binal To install it in an active Python environment:
pip install binal It depends on two packages with prebuilt wheels for Linux, macOS, and Windows: fastcrc for CRC checksums and tibs for the bfloat16 and 8-bit float formats.
From source
Building needs Rust 1.88 or newer:
git clone https://github.com/nolantw/binal
cd binal
uv sync --locked The command-line tool
The binal command checks, formats, and inspects .binal schemas and the files they describe. It is a separate program, built with Rust:
cargo install --git https://github.com/nolantw/binal binal-cli Inspection lists its commands.