Skip to main content

zarr-sqlite-python

SQLite-based single-file store for zarr v3 datasets, in Python.

SQLiteStore provides a single-file storage backend for Zarr. Key advantages over alternative single-file formats (e.g., ZipStore):

  • Support for key deletion, overwriting, and partial value writes.
  • Full ACID guarantees provided by SQLite.
  • High availability of SQLite implementations across programming languages and environments.

Example usage:

import zarr

from zarr_sqlite import SQLiteStore

with SQLiteStore("my_zarr_file.zarrdb") as store:
    root = zarr.create_group(store=store)
    foo = root.create_group('foo')
    bar = foo.create_group('bar')
    z1 = bar.create_array(name='baz', shape=(10000, 10000), chunks=(1000, 1000), dtype='int32')
    z1[:] = 42

SQLiteStore otherwise behaves identically to other stores used with zarr, see the zarr user guide for more information.

Specification

The store format is described in the document SPEC.md. This document should allow the implementation of SQLiteStore for other programming languages or Zarr libraries.

Status

The version of this library was incremented to v1.0 to reflect the fact that it complies with v1 of the SQLiteStore Specification. However, this is a relatively new library that has not seen a lot of real-world use yet, therefore users should expect the occasional bug, and possibly breaking API changes in future versions, if absolutely necessary.

The database format however, defined by the Specification, can be expected to be stable.

Metadata

Release files for zarr-sqlite 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zarr-sqlite 1.0.0
File Size Uploaded Provenance Actions
zarr_sqlite-1.0.0.tar.gz 10.5 kB Without provenance Details for zarr_sqlite-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zarr-sqlite 1.0.0
File Interpreter ABI Platform Actions
zarr_sqlite-1.0.0-py3-none-any.whl Python 3 none any Details for zarr_sqlite-1.0.0-py3-none-any.whl

Total release size: 23.8 kB

Release files / zarr_sqlite-1.0.0.tar.gz

Download URL zarr_sqlite-1.0.0.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
abe985c6226deffea6fb241e5ee703be7d1386dff2c8120383618d9fdbb843ae
BLAKE2b-256 checksum
How to use checksums
2715fe7e773c134c51a35f53063869baadf0bbf7746679b72497e8b42c6a4a02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / zarr_sqlite-1.0.0-py3-none-any.whl

Download URL zarr_sqlite-1.0.0-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65d4ca4a382353ab3e30ff0a4f3347ba3346f10ebdaecb3088b9762c857e76ef
BLAKE2b-256 checksum
How to use checksums
7ef8c2b2e1c1fb0dbec45295348396ef179e4009ab3700dfc382c26678546ffa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for zarr-sqlite 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page