Skip to main content

zarr-metadata

PyPI Docs

Types, models and validators for Zarr metadata documents, with minimal dependencies.

zarr-metadata is developed in the zarr-python repository and released independently of zarr. Install it with:

pip install zarr-metadata

What this is

A collection of data structures and routines that closely model the metadata rules in the Zarr v2 and v3 specifications and in zarr-extensions:

  • TypedDict shapes for every document and configuration.
  • Immutable document models. Their readers report every problem at its location.
  • Contexts, which say exactly which codecs, data types and other extensions a program reads.

This is not a full Zarr implementation. Nothing here reads or writes chunks, encodes or decodes data, or performs store I/O.

import json
from zarr_metadata import ZarrV3ArrayMetadata

with open("zarr.json", "rb") as f:
    raw = json.load(f)

metadata = ZarrV3ArrayMetadata.from_json(raw)

from_json returns the model, or raises MetadataValidationError with every problem it found. The documentation has a guide for each kind of use, and the API reference.

License

MIT

Metadata

Release files for zarr-metadata 0.8.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-metadata 0.8.0
File Size Uploaded Provenance Actions
zarr_metadata-0.8.0.tar.gz 607.9 kB With provenance Details for zarr_metadata-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zarr-metadata 0.8.0
File Interpreter ABI Platform Actions
zarr_metadata-0.8.0-py3-none-any.whl Python 3 none any Details for zarr_metadata-0.8.0-py3-none-any.whl

Total release size: 943.9 kB

Release files / zarr_metadata-0.8.0.tar.gz

Download URL zarr_metadata-0.8.0.tar.gz
Size 607.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cd91855317118014f84c670a6f73c568cafdc781750e4f071651084a73b5c71f
BLAKE2b-256 checksum
How to use checksums
95e28e1f15171c0a21e9fda74e17ba6ed5820dc2ee10e500d2594ceec4eaf1ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / zarr_metadata-0.8.0-py3-none-any.whl

Download URL zarr_metadata-0.8.0-py3-none-any.whl
Size 336.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6cb20d7c96665dbf5ba2eaebe49f9a2f416a73b8f8dbb2e0ed95ece67cf5a0b6
BLAKE2b-256 checksum
How to use checksums
9adaf7d2d72d44a6bd4f361d9e6b4f81166fed0254ff3856573ca2949c0eb150
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for zarr-metadata 0.8.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for zarr_metadata-0.8.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

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.

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