#zarr #storage #zip #zarrs #store

zarrs_zip

A storage adapter for zip files for the zarrs crate

4 releases

new 0.2.2 May 16, 2025
0.2.1 Apr 26, 2025
0.2.0 Nov 15, 2024
0.1.0 Sep 15, 2024

#2643 in Encoding

Download history 1/week @ 2025-01-30 8/week @ 2025-02-06 12/week @ 2025-02-13 1/week @ 2025-02-27 1/week @ 2025-03-13 5/week @ 2025-04-10 12/week @ 2025-04-17 174/week @ 2025-04-24 39/week @ 2025-05-01 34/week @ 2025-05-08

261 downloads per month
Used in zarrs

MIT/Apache

140KB
3K SLoC

zarrs_zip

Latest Version zarrs_zip documentation msrv build codecov

A storage adapter for zip files for the zarrs Rust crate.

use zarrs_storage::StoreKey;
use zarrs_filesystem::FilesystemStore;
use zarrs_zip::ZipStorageAdapter;

let fs_root = PathBuf::from("/path/to/a/directory");
let fs_store = Arc::new(FilesystemStore::new(&fs_root)?);
let zip_key = StoreKey::new("zarr.zip")?;
let zip_store = Arc::new(ZipStorageAdapter::new(fs_store, zip_key)?);

Licence

zarrs_zip 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

~7–14MB
~147K SLoC