zarr-python
zarr-python copied to clipboard
An implementation of chunked, compressed, N-dimensional arrays for Python.
NumPy lets you define 0-length data types, but they are useless in the context of arrays: ```python # /// script # requires-python = ">=3.11" # dependencies = [ # "numpy",...
See much discussion in https://github.com/zarr-developers/zarr-python/pull/3068 - instead of erroring, this just warns now. ping @maxrjones
This PR ensures that the various invocations of `create_array` are consistent. For reference, we have 4 ways to call `create_array`: - `zarr.core.array.create_array` (the actual function that does stuff) - `zarr.api.synchronous.create_array`...
Add actions to 1. overwrite data with oindex 2. read and compare a full array [Description of PR] TODO: * [ ] Add unit tests and/or doctests in docstrings *...
I propose that this code should work: ```python # /// script # requires-python = ">=3.11" # dependencies = [ # "zarr", # "pytest" # ] # /// import zarr from...
- fixes #2705 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] New/modified...
Implements `numcodec_to_zarr3_codec` to enable numcodec support in zarr v3 arrays This PR is a result of moving the `to_zarr3` logic from https://github.com/zarr-developers/numcodecs/pull/741 to zarr-python - fixes #2964 TODO: * [x]...
This is many fixes to how 'order' is handled. See the changelong entries for details of bugs fixed. Fixes https://github.com/zarr-developers/zarr-python/issues/2948, and helps with https://github.com/zarr-developers/zarr-python/issues/3072.
This cleans up the implementation of `create()` a bit by: - Fixing the typing of `filters` - Removing duplicate parsing of data type and compressor (the parsing is already done...
An attempt to document the current approach to permissions in the Zarr python library. TODO: * [ ] Add unit tests and/or doctests in docstrings * [ ] Add docstrings...