| Crates.io | zarrs_tools |
| lib.rs | zarrs_tools |
| version | 0.7.7 |
| created_at | 2023-12-04 23:26:14.574018+00 |
| updated_at | 2025-09-18 12:59:28.047945+00 |
| description | Tools for creating and manipulating Zarr V3 data |
| homepage | |
| repository | https://github.com/zarrs/zarrs_tools |
| max_upload_size | |
| id | 1058182 |
| size | 459,346 |
Various tools for creating and manipulating Zarr v3 data with the zarrs rust crate.
A changelog can be found here.
All tools support input and output of Zarr V3 data. Some tools additionally support input of a V3 compatible subset of Zarr V2.
zarrs_reencode: reencode an array. Manipulate the chunk size, shard size, codecs, fill value, chunk key encoding separator, and attributes.zarrs_filter (feature filter): apply simple image filters (transformations) to an array.zarrs_ome (feature ome): convert an array to an OME-Zarr 0.5 multi-scale image.zarrs_info (feature info): return metadata related info or the range/histogram of an array.zarrs_validate (feature validate): validate that two arrays are equivalent.zarrs_binary2zarr (feature binary2zarr): create an array from piped binary data.See docs/ for tool documentation.
zarrs Benchmarkingzarrs_reencode: suitable for round trip benchmarking.zarrs_benchmark_read_sync (feature benchmark): benchmark the zarrs sync API.zarrs_benchmark_read_async (feature benchmark): benchmark the zarrs async API.See the zarrs/zarr_benchmarks repository for benchmarks of zarrs against other Zarr V3 implementations.
# Requires cargo-binstall https://github.com/cargo-bins/cargo-binstall
cargo binstall zarrs_tools
Prebuilt binaries are not available on all platforms.
cargo install --all-features zarrs_tools
cargo install --all-features --path .
# cargo install --all-features --git https://github.com/zarrs/zarrs_tools
Encoding and decoding performance may be improved with avx2/sse2 enabled (if supported).
This can be enabled by compiling with either of:
RUSTFLAGS="-C target-cpu=native"RUSTFLAGS="-C target-feature=+avx2,+sse2"zarrs codecsNon-default zarrs codecs (see zarrs crate features) can be enabled by passing them as feature flags.
For example:
cargo install zarrs_tools --all-features --features zarrs/bitround,zarrs/zfp,zarrs/bz2,zarrs/pcodec
zarrs_tools is licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.