{"id":17549089,"url":"https://github.com/ldeakin/zarrs_icechunk","last_synced_at":"2025-04-24T00:49:52.827Z","repository":{"id":258118914,"uuid":"873272701","full_name":"LDeakin/zarrs_icechunk","owner":"LDeakin","description":"icechunk store support for the zarrs Rust crate","archived":false,"fork":false,"pushed_at":"2025-03-19T20:46:42.000Z","size":41,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T00:49:46.943Z","etag":null,"topics":["icechunk","library","rust","zarr","zarr-v3","zarrs"],"latest_commit_sha":null,"homepage":"https://zarrs.dev","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LDeakin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-15T22:13:11.000Z","updated_at":"2025-03-19T20:42:42.000Z","dependencies_parsed_at":"2024-10-17T18:40:48.115Z","dependency_job_id":"7b807f40-5fe5-413b-97bf-3519e9f00db0","html_url":"https://github.com/LDeakin/zarrs_icechunk","commit_stats":null,"previous_names":["ldeakin/zarrs_icechunk"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LDeakin%2Fzarrs_icechunk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LDeakin%2Fzarrs_icechunk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LDeakin%2Fzarrs_icechunk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LDeakin%2Fzarrs_icechunk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LDeakin","download_url":"https://codeload.github.com/LDeakin/zarrs_icechunk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250540956,"owners_count":21447426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["icechunk","library","rust","zarr","zarr-v3","zarrs"],"created_at":"2024-10-21T02:49:47.287Z","updated_at":"2025-04-24T00:49:52.810Z","avatar_url":"https://github.com/LDeakin.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zarrs_icechunk\n\n[![Latest Version](https://img.shields.io/crates/v/zarrs_icechunk.svg)](https://crates.io/crates/zarrs_icechunk)\n[![icechunk 0.2](https://img.shields.io/badge/icechunk-0.2-blue)](https://crates.io/crates/icechunk)\n[![zarrs_icechunk documentation](https://docs.rs/zarrs_icechunk/badge.svg)](https://docs.rs/zarrs_icechunk)\n![msrv](https://img.shields.io/crates/msrv/zarrs_icechunk)\n[![build](https://github.com/LDeakin/zarrs_icechunk/actions/workflows/ci.yml/badge.svg)](https://github.com/LDeakin/zarrs_icechunk/actions/workflows/ci.yml)\n\n[`icechunk`](https://crates.io/crates/icechunk) store support for the [`zarrs`](https://crates.io/crates/zarrs) Rust crate.\n\nIcechunk is a transactional store that enables `git`-like version control of Zarr hierarchies.\n\n`zarrs_icechunk` can read data in a range of archival formats (e.g., [`netCDF4`](https://www.unidata.ucar.edu/software/netcdf/), [`HDF5`](https://www.hdfgroup.org/solutions/hdf5/), etc.) that are converted to `icechunk`-backed \"virtual Zarr datacubes\" via [`VirtualiZarr`](https://github.com/zarr-developers/VirtualiZarr).\n\n```rust\nuse icechunk::{Repository, RepositoryConfig, repository::VersionInfo};\nuse zarrs_icechunk::AsyncIcechunkStore;\n\n// Create an icechunk repository\nlet storage = icechunk::new_in_memory_storage().await?;\nlet config = RepositoryConfig::default();\nlet repo = Repository::create(Some(config), storage, HashMap::new()).await?;\n\n// Do some array/metadata manipulation with zarrs, then commit a snapshot\nlet session = repo.writable_session(\"main\").await?;\nlet store = Arc::new(AsyncIcechunkStore::new(session));\nlet array: Array\u003cAsyncIcechunkStore\u003e = ...;\nlet snapshot0 = store.session().write().await.commit(\"Initial commit\", None).await?;\n\n// Do some more array/metadata manipulation, then commit another snapshot\nlet session = repo.writable_session(\"main\").await?;\nlet store = Arc::new(AsyncIcechunkStore::new(session));\nlet array: Array\u003cAsyncIcechunkStore\u003e = ...;\nlet snapshot1 = store.session().write().await.commit(\"Update data\", None).await?;\n\n// Checkout the first snapshot\nlet session = repo.readonly_session(\u0026VersionInfo::SnapshotId(snapshot0)).await?;\nlet store = Arc::new(AsyncIcechunkStore::new(session));\nlet array: Array\u003cAsyncIcechunkStore\u003e = ...;\n```\n\n## Version Compatibility Matrix\nSee [doc/version_compatibility_matrix.md](./doc/version_compatibility_matrix.md).\n\n## Licence\n`zarrs_icechunk` is licensed under either of\n - the Apache License, Version 2.0 [LICENSE-APACHE](./LICENCE-APACHE) or \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e or\n - the MIT license [LICENSE-MIT](./LICENCE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e, at your option.\n\nUnless 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldeakin%2Fzarrs_icechunk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fldeakin%2Fzarrs_icechunk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldeakin%2Fzarrs_icechunk/lists"}