Zarrista overview & goals
@kylebarron is already working on this.
Since Jun 22, 2026.
Assessment
This issue has not been assessed yet.
Description
Human written by @kylebarron
Background
Zarr is the pre-eminent data format for storing N-dimensional data. Zarr-Python is the primary Python library for reading/writing this data; Zarrs is the primary Rust library for reading/writing Zarr, and is potentially much faster than Zarr-Python.
@d-v-b recently prototyped vibe-coded Zarrs bindings for Zarr-Python in https://github.com/zarr-developers/zarr-python/pull/4064. After some discussion, I decided to start prototyping a standalone Zarrs binding for Python, with the goal of providing another option for https://github.com/zarr-developers/zarr-python/pull/4064. That is, Zarrista should be a low-level binding which Zarr-Python could potentially wrap in its higher level APIs in the future.
@d-v-b found that https://github.com/zarr-developers/zarr-python/pull/4064 had vastly improved performance:
I'm seeing ~15x throughput improvement, looks good.
This gives strong motivation for the potential performance improvements of a Python Zarr library built on Zarrs.
Goals
Zarrista should be both directly usable by intermediate-to-advanced users, but should also be built so that Zarr-Python could theoretically build on top of it in the future.
Zarrista should not add logic beyond what already exists in Zarrs. Similar to Obstore, the scope should be limited to only what is already implemented upstream. This keeps maintainability high.
Zarrista should expose as many APIs as possible from Zarrs. Array and Group will be medium-high level APIs, but ideally all lower level APIs (if stable) should also be exposed, so that downstream libraries can choose the most performance route for them.
- Create a minimal but complete Python binding of Zarrs
- Include parallel sync and async stores, arrays, and groups
- Support chunk reading
- Support array reading
- Support chunk writing
- Support array writing
- Various store support
- Icechunk integration
- ObjectStore/Obstore integration
- Filesystem integration
- Memory store integration (for testing only)
- Zero copy data exchange between Rust and Python
- Primitive, fixed width types:
- Buffer protocol/numpy
- Arrow
- DLPack
- Variable width types:
- Buffer protocol/numpy
- Arrow
- DLPack
- Masked types:
- Buffer protocol/numpy
- Arrow
- DLPack
- Primitive, fixed width types:
Partner and Stakeholders
Partner with @d-v-b as needed for general project direction, and to ensure that public-facing API is usable
Keeping the scope limited to what is already implemented upstream keeps this project focused to what my (@kylebarron's) strengths are. Given my experience from obstore, async-tiff, and similar projects, I'm really good at creating high-performance, Pythonic APIs from Rust libraries. I have considerably less experience with Zarr itself. This means that I'm ill-equipped to design a higher-level Zarr API myself; that task should be left to @d-v-b and others in higher-level wrapper libraries (Zarr-Python or other).
Milestones
cc @developmentseed/cng-island
- Dominant language
- Python
- Stars
- 52
- Forks
- 3
- Avg merge
- 36m
- Merged PRs (30d)
- 5
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from developmentseed/zarrista
-
Difficulty 4/5 3-5 days Newbie friendliness 54/100
developmentseed/zarrista#222 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
developmentseed/zarrista#211 · 1 comment ·
-
Bump to arrow 60Open
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
developmentseed/zarrista#203 ·
-
Read and write icechunk sessions through the zarr-python Store instead of linking the icechunk crateOpen
Difficulty 5/5 Over a week Newbie friendliness 35/100
developmentseed/zarrista#196 ·
-
pyemscripten wheel is unimportable: the Python layer imports async-only classes unconditionallyOpen
Difficulty 3/5 1-2 days Newbie friendliness 57/100
developmentseed/zarrista#189 · 3 comments ·
All issues in developmentseed/zarrista
Similar issues
-
Task select patterns with uppercase letters never matchPossibly taken @manobhisriram claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
app: scripts status: backlog type: housekeeping
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
netbox-community/netbox-scripts#239 ·
Maintainers usually reply within 1 day
-
Lambda deploys fail once the bundle grows by about 254 KBPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
developmentseed/titiler-cmr#341 ·
Maintainers usually reply within 1 day
-
Card tables add "..." to every value in a DataFrame column when any value is longer than 30 charactersPossibly taken @omkarbandikatte claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day