zarr-python
zarr-python copied to clipboard
An implementation of chunked, compressed, N-dimensional arrays for Python.
Fix 1931
Fixes #1931 TODO: * [x] Add unit tests and/or doctests in docstrings * [x] Add docstrings and API docs for any new/modified user-facing classes and functions * [x] Changes documented...
In terms of abstraction levels, this pushes the `codecs` kwarg below the array creation API. Instead, we use the kwarg "filters" to denote ArrayArray codecs, "compressor" to denote the ArrayBytes...
Some functions that return `dict[str, JSON]` were mistakenly annotated as returning `JSON`. One wrinkle to this PR is the `BatchedCodecPipeline` class, where `from_dict` takes a list, and `to_dict` returns a...
In https://github.com/zarr-developers/zarr-python/pull/1918 I added structure for generating API docs, but only added the `zarr` namespace. We should add the other namespaces that need documenting too. Does someone more involved in...
Because it uses [`lru_cache`](https://github.com/zarr-developers/zarr-python/blob/e3ee09eaa8a5e17a92d00ae4979aa069f755eaba/src/zarr/codecs/sharding.py#L323-L325) and we have not implemented the requisite dunder methods for object serialization to make it pickleable, which is not hard according to [internet wisdom](https://stackoverflow.com/a/73785520) . todo:...
See https://zarr.readthedocs.io/en/stable/ - the version number is listed as `0.1.dev50` where it should be `2.something`.
With https://github.com/zarr-developers/numcodecs/pull/519 being merged, we can now use the zstd implementation in numcodecs for Zarr v3. We can then get rid of the `zstandard` dependency.
As explained in the issue, zlib-ng produces different hex digests from original zlib. This adjusts the tests slightly to allow for this. TODO: * [ ] GitHub Actions have all...
### Zarr version all ### Numcodecs version NA ### Python Version all ### Operating System all ### Installation pip install --only-binary ':all:' zarr ### Description Zarr depends on [asciitree](https://github.com/mbr/asciitree), which...
### Zarr version 3.0.0a1 ### Numcodecs version 0.12.1 ### Python Version 3.11.9 ### Operating System Mac ### Installation pip ### Description It looks like 'r+', which should read or write...