zarr-python icon indicating copy to clipboard operation
zarr-python copied to clipboard

[v3] Implement `zarr.copy_store`

Open jhamman opened this issue 1 year ago • 5 comments

Zarr version

3.0.0.beta

Numcodecs version

0.13

Python Version

3.11

Operating System

Mac

Installation

pip

Description

We have not implemented zarr.copy, zarr.copy_all, or zarr.copy_store yet.

Steps to reproduce

https://github.com/zarr-developers/zarr-python/blob/5f3a5128a4e0cc7b160c5461f6e2575aaa3a3e77/src/zarr/api/asynchronous.py#L199-L208

Additional output

No response

jhamman avatar Oct 18 '24 19:10 jhamman

Proposal from today's dev meeting. We remove copy and copy_all and push copy_store to after 3.0.

jhamman avatar Nov 22 '24 15:11 jhamman

Hello :), If I'd like to contribute this feature, would it be acceptable in the meantime to not bother at least in the meantime with the log, dry_run and {ex,in}cludes arguments?

doronbehar avatar Feb 25 '25 15:02 doronbehar

@doronbehar - glad to hear there is interest here. We'd be happy to accept such a contribution.

jhamman avatar Feb 25 '25 20:02 jhamman

Any news on this?

Lorenzo-Mazza avatar Oct 17 '25 13:10 Lorenzo-Mazza

Some colleagues pointed me at this issue and I wanted to add a little bit more context to make it easier for someone to pick up.

These functions existed in zarr-python 2.*, so there are reference implementations, docs, and tests for rougly equivalent functions (though not async, internals have changed, etc.)

Docs (which have links to source code) for the original functions and API:

ivirshup avatar Nov 07 '25 18:11 ivirshup