developmentseed / developmentseed/zarrista
Integrate with generic Python codecs
- Dominant language
- Python
- Stars
- 45
- Forks
- 2
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 7
Description
Zarr-Python has various base classes for codecs:
- [`ArrayArrayCodec`](https://zarr.readthedocs.io/en/stable/api/zarr/abc/codec/index.html#zarr.abc.codec.ArrayArrayCodec)
- [`ArrayBytesCodec`](https://zarr.readthedocs.io/en/stable/api/zarr/abc/codec/index.html#zarr.abc.codec.ArrayBytesCodec)
- [`BytesBytesCodec`](https://zarr.readthedocs.io/en/stable/api/zarr/abc/codec/index.html#zarr.abc.codec.BytesBytesCodec)
We should be able to support passing in arbitrary Python codecs, and these probably match the underlying Zarrs traits like [`ArrayToArrayCodecTraits`](https://docs.rs/zarrs/latest/zarrs/array/trait.ArrayToArrayCodecTraits.html)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the listed Zarr-Python codec base classes and the corresponding zarrs ArrayToArrayCodecTraits and related traits. Trace how codecs are currently passed through the Python-to-Rust API, then define support for arbitrary Python codecs and verify that each relevant codec shape can be passed successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100