zarr-python
zarr-python copied to clipboard
An implementation of chunked, compressed, N-dimensional arrays for Python.
Fix a bug where `ZipStore` complains that it has no attribute `_lock` when some methods are called. Any method using the lock should make sure the store is opened because...
Sorry if someone already started this! I didn't see it in the repo and I was trying to play around with python 3.14 until I realized the feature I was...
@d-v-b This PR adds experimental support for subarray dtypes (https://numpy.org/doc/stable/glossary.html#term-subarray-data-type, https://numpy.org/doc/stable/user/basics.rec.html#structured-datatype-creation) and closes #3582 and #3583. It also fixes support for nested (and subarray-containing) `Structured` dtypes for Zarr v2 which...
This PR adds a `Bytes` dtype that is nearly identical to the existing `VariableLengthBytes` dtype save a few differences: - the V3 JSON form is `"bytes"` instead of `"variable_length_bytes"` -...
since #3554 was an unpopular direction I'm going instead with codspeed + pytest-benchmark. Opening as a draft because I haven't looked into how codspeed works at all, but I'd like...
This PR implements support for the ZEP 8 URL syntax in Zarr Python. Some examples of what now works: ```python import zarr root = zarr.open_group('s3://bucket/data.zip|zip:|zarr3:') # S3 → ZIP →...
(Marking this as a draft for now) closes: https://github.com/zarr-developers/zarr-python/issues/1595 replaces: https://github.com/zarr-developers/zarr-python/pull/1483 xref: https://github.com/zarr-developers/zarr-extensions/pull/25 TODO: * [x] Add unit tests and/or doctests in docstrings * [x] Add docstrings and API docs...
We recently had breakage in the 3.1.4 release because numcodecs dropped support for `crc32c`, which zarr-python was relying on indirectly. This was not caught in the numcodecs tests because the...
### Describe the new feature you'd like The newly introduced `dimension_names` metadata can, at the moment, only be accessed via `array.metadata.dimension_names`. Parameters passed to `zarr.create` like `shape` or `chunks` can...
### Zarr version v3.1.3 ### Numcodecs version v0.16.3 ### Python Version 3.12.10 ### Operating System Linux ### Installation using uv ### Description Calling the `exists` method on a `ZipStore` instance...