#store #storage #zarrs #zarr #icechunk

zarrs_icechunk

icechunk store support for the zarrs crate

2 releases

0.1.0-alpha.1 Nov 28, 2024
0.1.0-alpha.0 Oct 17, 2024

#2364 in Encoding

Download history 147/week @ 2024-10-12 26/week @ 2024-10-19 2/week @ 2024-10-26 136/week @ 2024-11-23 21/week @ 2024-11-30

157 downloads per month

MIT/Apache

20KB
350 lines

zarrs_icechunk

Latest Version icechunk 0.11 zarrs_icechunk documentation msrv build

icechunk store support for the zarrs Rust crate.

// Create an icechunk store
let storage = Arc::new(icechunk::ObjectStorage::new_in_memory_store(None));
let icechunk_store = icechunk::Store::new_from_storage(storage).await?;
let store = zarrs_icechunk::AsyncIcechunkStore::new(icechunk_store);

// Do some array/metadata manipulation with zarrs, then commit a snapshot
let snapshot0 = store.commit("Initial commit").await?;

// Do some more array/metadata manipulation, then commit another snapshot
let snapshot1 = store.commit("Update data").await?;

// Checkout the first snapshot
store.checkout(icechunk::zarr::VersionInfo::SnapshotId(snapshot0)).await?;

Version Compatibility Matrix

See doc/version_compatibility_matrix.md.

Licence

zarrs_icechunk 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.

Dependencies

~44MB
~622K SLoC