Skip to content

[v3] Develop ZipStore #2010

Closed
Closed
@jhamman

Description

@jhamman

In Zarr-Python 2, we had the ZipStore. This hasn't been implemented yet in v3 but will need to be before the 3.0 release.

Fsspec has a ZipStore but I don't think it has an async interface so I think we should implement our own. Some design thought will be needed here to get locking/etc. right.

The intended behavior is something like this:

import zarr

store = zarr.ZipStore('data/example.zip', mode='w')
root = zarr.group(store=store)
z = root.zeros('foo/bar', shape=(1000, 1000), chunks=(100, 100), dtype='i4')
z[:] = 42
store.close()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions