zarr-python
zarr-python copied to clipboard
An implementation of chunked, compressed, N-dimensional arrays for Python.
### Zarr version v3 ### Description I think this could and should be fixed in most cases: * [`core.buffer.gpu.Buffer.__init__`](https://github.com/zarr-developers/zarr-python/blob/fe752a2a2b0e91dbe566ab9874da5bb56957a688/src/zarr/core/buffer/gpu.py#L50) does not call [`core.buffer.core.Buffer.__init__`](https://github.com/zarr-developers/zarr-python/blob/fe752a2a2b0e91dbe566ab9874da5bb56957a688/src/zarr/core/buffer/core.py#L138) * [`core.buffer.gpu.NDBuffer.__init__`](https://github.com/zarr-developers/zarr-python/blob/fe752a2a2b0e91dbe566ab9874da5bb56957a688/src/zarr/core/buffer/gpu.py#L139) does not call [`core.buffer.core.NDBuffer.__init__`](https://github.com/zarr-developers/zarr-python/blob/fe752a2a2b0e91dbe566ab9874da5bb56957a688/src/zarr/core/buffer/core.py#L315) *...
[`open_array`](https://github.com/zarr-developers/zarr-python/blob/da675fe7b64beb83f0c27395b0ed00f4dddfdfbf/src/zarr/api/asynchronous.py#L1042) is designed to either read an existing array or create a new one, if the the `store_path` object has the mode `create` and no existing array is found. However,...
[Jupyter notebooks are now linted and formatted by default](https://astral.sh/blog/ruff-v0.6.0#jupyter-notebooks-are-now-linted-and-formatted-by-default) TODO: * [ ] Add unit tests and/or doctests in docstrings * [ ] Add docstrings and API docs for any...
### Zarr version v3 ### Description The second cycle is already identified as such: * [`zarr.api.asynchronous`](https://github.com/zarr-developers/zarr-python/blob/d43b6c75b3b640ad7e9ec654db855d82c79e1fb4/src/zarr/api/asynchronous.py#L21) ⟷ [`zarr.core.group`](https://github.com/zarr-developers/zarr-python/blob/d43b6c75b3b640ad7e9ec654db855d82c79e1fb4/src/zarr/core/group.py#L16) ```python from zarr.core.group import AsyncGroup, ConsolidatedMetadata, GroupMetadata ``` ``` import zarr.api.asynchronous as...
### Zarr version v3 ### Installation sources ### Description These methods of abstract base class [`Store`](https://github.com/zarr-developers/zarr-python/blob/fe752a2a2b0e91dbe566ab9874da5bb56957a688/src/zarr/abc/store.py#L61) are non-`async`: * [`Store.list`](https://github.com/zarr-developers/zarr-python/blob/fe752a2a2b0e91dbe566ab9874da5bb56957a688/src/zarr/abc/store.py#L333) * [`Store.list_prefix`](https://github.com/zarr-developers/zarr-python/blob/fe752a2a2b0e91dbe566ab9874da5bb56957a688/src/zarr/abc/store.py#L343) * [`Store.list_dir`](https://github.com/zarr-developers/zarr-python/blob/fe752a2a2b0e91dbe566ab9874da5bb56957a688/src/zarr/abc/store.py#L359) Child classes [`LocalStore`](https://github.com/zarr-developers/zarr-python/blob/fe752a2a2b0e91dbe566ab9874da5bb56957a688/src/zarr/storage/local.py#L69), [`LoggingStore`](https://github.com/zarr-developers/zarr-python/blob/fe752a2a2b0e91dbe566ab9874da5bb56957a688/src/zarr/storage/logging.py#L19), [`RemoteStore`](https://github.com/zarr-developers/zarr-python/blob/fe752a2a2b0e91dbe566ab9874da5bb56957a688/src/zarr/storage/remote.py#L27), [`MemoryStore`](https://github.com/zarr-developers/zarr-python/blob/fe752a2a2b0e91dbe566ab9874da5bb56957a688/src/zarr/storage/memory.py#L17),...
While working on #2031 I became familiar with the new V3 Codec API and its peculiarities. And I saw that we don't yet have actual unit tests for the codecs....
Closes #2018 by passing the correct format for the `byte_range` argument to a `StorePath` byte getter when accessing chunks within a shard. Previously, the return value of `get_chunk_slice` was directly...
This errors on any broken links in the documentation, which currently is quite a lot! It will take a while to fix all these, but I think it's worth having...
This proposes to include a complete copy of zarr v2.18.7 under the zarr.v2 namespace. The goal is for libraries using the v2 API to be able to migrate gradually, and...
closes #3096 this PR adds zarr-specific subclasses of `FutureWarning` and `DeprecationWarning`, ~so that we can expose routines for silencing future / deprecation warnings specifically emitted by zarr-python.~ ~This PR is...