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.7.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.7.0
File Size Uploaded Provenance Actions
zarr_metadata-0.7.0.tar.gz 591.5 kB With provenance Details for zarr_metadata-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 922.0 kB

Release files / zarr_metadata-0.7.0.tar.gz

Download URL zarr_metadata-0.7.0.tar.gz
Size 591.5 kB
Tags Source
SHA-256 checksum
How to use checksums
26966fce40d8562569d21eeb0f18cf4db28932be94b1772eafc8c4f0b7e110f1
BLAKE2b-256 checksum
How to use checksums
ba62641fb60dab0fb301ddca303dc2ec2ef12e3c0dbd5323f52d4ffa4b39b928
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 12, 2026.

Transparency log

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

Download URL zarr_metadata-0.7.0-py3-none-any.whl
Size 330.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5034d0c40e35e7cf56f585e73096ecd86a62853e1be56e96278739049c3f9b8e
BLAKE2b-256 checksum
How to use checksums
78c518ac4c94bf10d737cedfb2703983b06801dca12a73e2c5f5894fdc0873a6
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 12, 2026.

Transparency log

Security for zarr-metadata 0.7.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.7.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 12, 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