zarr-python
zarr-python copied to clipboard
An implementation of chunked, compressed, N-dimensional arrays for Python.
The Zarr v3 specification only lists a few codecs that are officially supported. However, it is desirable to expose the codecs in numcodecs for use with v3 arrays as well....
In this PR #1839 I have a conflict where the @pep8speaks bot is in conflict with the ruff formatter. PEP8 comment: https://github.com/zarr-developers/zarr-python/pull/1839#issuecomment-2094937391 Ruff pre-commit: https://results.pre-commit.ci/run/github/48049137/1715025400.r2onHl8LSX240CJ0_K4lOw The difference is illustrated in...
In the version selection at https://zarr.readthedocs.io/en/latest/ it looks like the v3 branch isn't enabled - it would be good to enable it so it's easy to see what the v3...
This PR changes our hatch test script in two ways: 1. renames the `run` script to a more informative `test` script 2. only runs tests in the `v3` directory TODO:...
More typing. TODO: * [ ] Add unit tests and/or doctests in docstrings * [ ] Add docstrings and API docs for any new/modified user-facing classes and functions * [...
This finishes typing generic types in `zarr.codecs`. There's still one issue that needs fixing... TODO: * [ ] Add unit tests and/or doctests in docstrings * [ ] Add docstrings...
I added `zstandard` as a dependency because the `zstd` in numcodecs doesn't expose the `checksum` config. This will be introduced in https://github.com/zarr-developers/numcodecs/pull/519. Once that PR is merged, we can use...
This PR adds tests for registering codecs via entry point. The test code is copied from numcodecs. Seems to work 👌 Contributes to #1748
This PR introduces two new classes `NDBuffer` and `Buffer` to represent the data argument between components. Currently, we use `numpy.ndarray` and `bytes` to pass around data between components. As discussed...
Note: #1868 is the same applied to the [`v3`](https://github.com/zarr-developers/zarr-python/tree/v3) branch ISC001 Implicitly concatenated string literals on one line ISC003 Explicitly concatenated string should be implicitly concatenated This rule is currently...