Skip to content

added arrow array-bytes codec - #1

Draft
rabernat wants to merge 156 commits into
masterfrom
arrow-ipc-codec
Draft

rabernat wants to merge 156 commits into
masterfrom
arrow-ipc-codec

Conversation

@rabernat

@rabernat rabernat commented Nov 8, 2025

Copy link
Copy Markdown
Owner

No description provided.

star1327p and others added 3 commits November 11, 2025 09:45
Set default value for prototype parameter in get method.
* concurrency limit 64 -> 10

* update reference to concurrency limit in docs

* update tests

* remove release note
ilan-gold and others added 16 commits November 17, 2025 20:14
…#3574)

* feat: bounded size `auto` sharding via `zarr.config`

* chore: add docs + `config`

* fix: config test

* chore: relnote

* fix: coverage

* refactor: variable declaration order

* fix: docstring + argu

---------

Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com>
* feat: make `async_array` public

* chore: relnote

* fix: clarify docstring

---------

Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com>
* Improve store section in migration guide

* Update docs/user-guide/v3_migration.md

Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com>

---------

Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com>
* Parametrize Array with v2/v3 metadata

* Try fixing docstrings

* Add an AnyAsyncArray type

* Add async array v2 and v3 types

* Add changelog entry

* Pass sub-classes through returns.

* Chage release note to MarkDown

---------

Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com>
* Reduce number of documentation redirects needed

* Revert other structural changes from 3.1.3

* Fixup
* update imports in docs

* fix tests
* compile release notes

* add latest release notes

* prose

* typo

* build release notes

---------

Co-authored-by: Max Jones <14077947+maxrjones@users.noreply.github.com>
* 3.1.4, not pi

* fix links

* fix header structure

* release notes

* rename change entry
Bumps the actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv).


Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](actions/checkout@v5...v6)

Updates `astral-sh/setup-uv` from 7.1.2 to 7.1.4
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](astral-sh/setup-uv@8585678...1e862df)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: astral-sh/setup-uv
  dependency-version: 7.1.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…s#3599)

Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com>
* bump mininum version of typing_extensions

* pin pytest-asyncio

* < not <=
* add test that fails when there are no examples detected

* use rglob instead of glob to find example scripts

* changelog
* fix: 1024 bytes is not 1MiB!

* fix: correct number

* chore: add test

* chore: relnote

* fix: name

* Apply suggestion from @d-v-b

---------

Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com>
d-v-b and others added 7 commits December 3, 2025 21:25
…s#3623)

* ✏️ using ZarrFormat instead of duplication

* ✏️ making linter happy (numpy has Literal[True, False])

* Create 3623.misc.md
* remove pytest pin

* remove pytest-asyncio upper bound

* update changelog

* move type: ignores around to pass pre-commit checks

* bump typing-extensions to the minimum required by pytest-asyncio

* bump typing_extensions in min deps test

* tweak type: ignore declarations

* remove type: ignore
* docs: Correct grammar issues in a/an usage

* Update src/zarr/storage/_fsspec.py

---------

Co-authored-by: Tom Augspurger <tom.augspurger88@gmail.com>
…pers#3630)

Bumps the actions group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) | `7.1.4` | `7.1.6` |
| [actions/cache](https://github.com/actions/cache) | `4` | `5` |
| [scientific-python/upload-nightly-action](https://github.com/scientific-python/upload-nightly-action) | `0.6.2` | `0.6.3` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `5` | `6` |
| [actions/download-artifact](https://github.com/actions/download-artifact) | `6` | `7` |



Updates `astral-sh/setup-uv` from 7.1.4 to 7.1.6
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](astral-sh/setup-uv@1e862df...681c641)

Updates `actions/cache` from 4 to 5
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v4...v5)

Updates `scientific-python/upload-nightly-action` from 0.6.2 to 0.6.3
- [Release notes](https://github.com/scientific-python/upload-nightly-action/releases)
- [Commits](scientific-python/upload-nightly-action@b36e8c0...5748273)

Updates `actions/upload-artifact` from 5 to 6
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v5...v6)

Updates `actions/download-artifact` from 6 to 7
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](actions/download-artifact@v6...v7)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: 7.1.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: scientific-python/upload-nightly-action
  dependency-version: 0.6.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com>
d-v-b and others added 30 commits April 13, 2026 18:39
…opers#3900)

* chore: remove deprecated convenience and creation modules

* docs: remove references to deprecated modules from docs

* docs: changelog

* docs: remove redirect to absent page
* chore: make types more accurate

* test: add test helpers and simplify metadata tests

* chore: lint

* changelog

* chore: bump typing-extensions

* Update src/zarr/core/metadata/v3.py

Co-authored-by: Max Jones <14077947+maxrjones@users.noreply.github.com>

* test: add tests for ARRAY_METADATA_KEYS

---------

Co-authored-by: Max Jones <14077947+maxrjones@users.noreply.github.com>
)

* chore: expunge deprecated `zarr_version` parameter

- remove `zarr_version` from functions
- remove special function for handling `zarr_format` and `zarr_version` parameters
- correct references in the docs to `zarr_version`
- correct references in the docs to configuration for the default zarr format

* docs: changelog
* chore: remove group.array

* chore: *_dataset methods from group

* docs: changelog
* memory store registry

* Add a `ManagedMemoryStore` class that uses an internal registry of dictionaries to manage memory-based zarr storage.
Instances of `ManagedMemoryStore` have a URL representation based on the `id` of the backing dict, e.g. `memory://<id>/`.
This means the same memory-backed store can be accessed without passing an explicit store reference.

* Allow a user-specified name for `ManagedMemoryStore` instances.
Ensure that `ManagedMemoryStore` names do not contain the separator character "/"
Ensure that `ManagedMemoryStore` instances are tied the PID of the creating process

* Update docs to use `memory://` urls instead of explicitly creating a store

* changelog

* lint

* refactor URL parsing logic

* simplify PID check

* update store docs

* fix windows filepath parsing bug, and add tests for parse_store_url

* test: Add missing tests for _dereference_path

Also, change the `ExpectFail` helper class to require the `msg` parameter be set. Allowing a default
value of `None` will make all `pytest.raises(case.exception, match=case.msg)` checks pass, which is not
the intended behavior.

* refactor: remove _dereference_path in favor of _join_paths
…d dtypes (zarr-developers#3781)

* Implement official support for `structured` and `struct` dtypes according to new extension.

* Update docs and add changelog

* Implement `struct` subclass instead of modifying `structured`

* Remove Structured from AnyDType to fix test_match_dtype_unique

* Revert removal of linting ignore flag

* Fix dtype support

* Fix import sort order -- Linting

* Resolve zarr-developers#3781 (comment) Only register `Struct` and allow it to appropriately pick up `structured` dtype

* Linting

---------

Co-authored-by: Davis Vann Bennett <davis.v.bennett@gmail.com>
* fix: declare a unit when creating NaT datetime

* fix: use latest version of ml_dtypes in example script

* docs: changelog
…ers#3853)

Co-authored-by: Max Jones <14077947+maxrjones@users.noreply.github.com>
* fix: apply path normalization to fsspec store

* docs: changelog

* Update 3924.bugfix.md
…lopers#3926)

* fix(storage): preserve leading slashes in FsspecStore.path

zarr-developers#3924 ran the constructor's `path` argument through `normalize_path`,
which is intended for zarr logical keys and strips leading slashes.
Applied to a filesystem-side root, this turned absolute paths like
/home/foo/data.zarr into the relative home/foo/data.zarr, breaking
LocalFileSystem-backed FsspecStore for any caller that passed an
absolute path. Downstream impact: titiler-xarray's test-upstream job
fails on every dataset_3d.zarr fixture access.

The original zarr-developers#3922 issue (path="/" producing "//key" via _join_paths)
is still resolved: rstrip("/") collapses "/" to "", so the join filter
drops it. Trailing slashes are also still stripped.

Updates the existing test_fsspec_store_path_normalization
parametrization with the new (correct) expectations and adds two
absolute-path cases.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs: changelog name

* docs: remove redundant changelog entries

* fix: restore old path normalization logic, and add regression tests

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* feat: add cast_value and scale_offset codecs

Defines two new codecs that together provide a v3-native replacement for the existing `numcodecs.fixedscaleoffset` codec.
The `cast_value` codec requires an optional dependency on the `cast-value-rs` package.

* docs: changelog

* chore: simplify scalar map handling

* chore: coverage

* chore: preserve JSON encoding of scale and offset parameters

* chore: internal cleanup

* fix: use explicit list of data type names

* docs: add comment

* fix: make encode / decode stricter about dtypes

* test: don't use async incorrectly

* test: patch holes in test coverage

* chore: lint

* chore: remove cast-value-rs group, and add cast-value-rs to optional deps

* improve docstrings
* Update release checklist

* Automate release process with changelog and downstream test workflows

* Trigger based on label

* Fix build

* Update guidance

* Fix build

* fix: numcodecs build in downstream

* fix: create venv first

* fix: install dev group first

* fix: include submodules

* another isolation change

---------

Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com>
* docs: label removals as such

* docs: remove claim that sharding supports truncated boundary chunks

* chore: add more changelog entries

* Remove 3722; not wired up

* Update 3802.feature.md

* Update 3802.feature.md

---------

Co-authored-by: Max Jones <14077947+maxrjones@users.noreply.github.com>
* docs: build release notes

* docs: fix release notes

* fix: whitespace
* feat(metadata): scaffold zarr-metadata package structure

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* build(metadata): depend on zarr-metadata via local uv workspace source

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(metadata): add JSON, NamedConfig, NamedRequiredConfig primitives

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(metadata): add v3 array metadata types

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(metadata): add v3 consolidated metadata type

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(metadata): add v3 group metadata type

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(metadata): wire up zarr_metadata.v3 re-exports

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(metadata): add faithful v2 array metadata types

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(metadata): add v2 group metadata type

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(metadata): add v2 consolidated metadata type (canonical impl, not spec)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(metadata): wire up zarr_metadata.v2 re-exports

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(metadata): add ArrayMetadata, GroupMetadata version-polymorphic unions

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(metadata): add Codec envelope and blosc codec configurations

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(metadata): add dtype types (DType, LengthBytesConfig, FixedLengthBytesConfig, TimeConfig)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test(metadata): smoke + structural tests for the package

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(common): re-export JSON, NamedConfig, NamedRequiredConfig from zarr-metadata

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(metadata): re-export v3 types from zarr-metadata

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(metadata): re-export faithful v2 array metadata type

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(codecs): re-export blosc codec configurations from zarr-metadata

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(abc): re-export CodecJSON from zarr-metadata

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(dtype): re-export DTypeJSON from zarr-metadata

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(dtype): re-export LengthBytesConfig from zarr-metadata

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(dtype): re-export FixedLengthBytesConfig from zarr-metadata

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(dtype): re-export TimeConfig from zarr-metadata

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(metadata): use tuple[int, ...] for fixed-length fields + typed NumcodecsConfig

Spec-defined metadata fields with fixed length and no mutation semantics
are typed as tuples, not Sequence. Applies to:
  - v2 ArrayMetadataV2.shape, .chunks
  - v2 DataTypeV2Structured.shape
  - v2 ArrayMetadataV2.filters (tuple of codec configs)
  - v3 RegularChunkGridConfig.chunk_shape
  - v3 RectilinearChunkGridConfig.chunk_shapes

Adds zarr_metadata.v2.codec.NumcodecsConfig, a TypedDict modeling the v2
spec shape for compressors and filters: a required 'id' field plus
arbitrary codec-specific extras. ArrayMetadataV2.compressor and .filters
now reference this type instead of an untyped Mapping[str, JSON].

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(metadata): fix explicit re-exports and complete DateTimeUnit migration

Three fixes:

1. Add missing "μs" unit to zarr_metadata.dtype.time.DateTimeUnit so it
   matches zarr-python's DateTimeUnit. zarr.core.dtype.npy.common.DateTimeUnit
   now re-exports from zarr-metadata (downstream consumers like
   zarr.core.dtype.npy.time pick it up transitively).

2. Replace `from X import Y as LegacyName` with `from X import Y` followed
   by a module-level `LegacyName: TypeAlias = Y` binding. mypy under
   `strict = true` rejected the renamed-import form under the explicit-
   re-export check ("Module 'X' does not explicitly export attribute 'Y'"),
   affecting 13 call sites across the codebase. The TypeAlias form makes
   the alias a proper type (mypy uses it in annotations) while preserving
   runtime introspection (`.__annotations__` access on the aliased TypedDict).

   Affects:
     - src/zarr/core/dtype/common.py    (DTypeJSON)
     - src/zarr/core/metadata/v2.py     (ArrayV2MetadataDict)
     - src/zarr/core/metadata/v3.py     (ArrayMetadataJSON_V3 + 5 others)

3. noqa: UP040 on the TypeAlias bindings. ruff prefers the `type` keyword
   (PEP 695), but that wraps the alias in a TypeAliasType which breaks
   `.__annotations__` lookup used by tests.

The 12 remaining "unused type: ignore" mypy errors in v3.py are
pre-existing (same count on the pre-refactor state) and unrelated to this
work.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(metadata): extract primitives to common.py to break import cycle

Moves JSON, NamedConfig, NamedRequiredConfig out of zarr_metadata/__init__.py
into zarr_metadata/common.py. Submodules (v2/*, v3/*) now import from
zarr_metadata.common directly, avoiding the circular import that occurred
when v2.codec was loaded during __init__.py execution.

Also:
  - v3.array declares RegularChunkGrid/RectilinearChunkGrid as direct
    TypedDict classes instead of NamedRequiredConfig aliases, simplifying
    the types and enabling more precise chunk-grid annotations downstream.
  - v2.consolidated.ConsolidatedMetadataV2.metadata value type widened to
    GroupMetadataV2 | ArrayMetadataV2 | JSON.
  - Added spec links to v2/{array,codec} docstrings.

zarr_metadata/__init__.py continues to re-export JSON, NamedConfig,
NamedRequiredConfig at the top level so zarr.core.common keeps resolving.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(metadata): address review findings

Three issues surfaced by final code review:

1. Add py.typed marker to zarr-metadata. Without it, PEP 561 makes type
   checkers treat zarr-metadata as untyped, cascading into ~44 spurious
   mypy errors in zarr (subclassing Any, unused type: ignore, etc).

2. RegularChunkGrid.configuration was accidentally typed NotRequired when
   converted from NamedRequiredConfig to a direct TypedDict class. Per
   spec, chunk_shape is mandatory. Make configuration required.

3. RectilinearDimSpec was declared as tuples but zarr's compress_rle
   returned lists, and the to_dict producer built lists. Align producers
   with the declared type: compress_rle now returns list[int | tuple[int, int]],
   expand_rle accepts both list and tuple RLE pairs, to_dict builds tuples.

The tuple shape is correct per spec: each RLE pair is a JSON array of
exactly two elements (size, count) — a fixed-cardinality structure that
tuple models more faithfully than a mutable list.

Mypy error count now matches main (32) with these fixes in place.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(metadata): remove consolidated_metadata from GroupMetadataV3

consolidated_metadata is not in the core Zarr v3 spec as a field on group
metadata. It has an (unmerged) extension spec and is implemented by
zarr-python, but keeping it out of GroupMetadataV3 is the spec-faithful
move. The extra_items=AllowedExtraField on GroupMetadataV3 already
permits it to appear at runtime as an extension.

ConsolidatedMetadataV3 remains available at zarr_metadata.v3.consolidated
for consumers that want to type the extension shape.

Also fix two stray lint issues (missing trailing newline in common.py,
unused Mapping import in v2/array.py).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* chore(metadata): don't track zarr-metadata's uv.lock

zarr-metadata is a library, not an application — its lockfile pins
transitive dev versions that shouldn't be fixed in source. Untrack and
gitignore.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(metadata): add v3 codec types for bytes, crc32c, gzip, zstd, transpose, sharding

Adds per-codec TypedDict configurations + name literals + full envelope
types for every core v3 codec besides blosc (which is extended in the
same style for consistency):

  - {Codec}CodecName       : Literal["<name>"]   — the spec "name" value
  - {Codec}CodecConfiguration  : TypedDict        — the "configuration" body
  - {Codec}Codec           : NamedRequiredConfig — the full envelope

crc32c has no configuration fields, so Crc32cCodec uses NamedConfig
(configuration optional) and no Configuration TypedDict is exported.

The `V1` suffix is dropped from the Configuration types (except blosc,
where V1 + Numcodecs disambiguate two concrete shapes). The other v3
codec specs aren't versioned at the codec level; there's only one shape
per codec today, and an incompatible future change would land under a
new codec name rather than a v2 of the same name.

Also fixes pre-existing v2 test fixtures to include the now-required
compressor/fill_value/order/filters fields on ArrayMetadataV2.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(metadata): define codec envelope TypedDicts explicitly

Each {Codec}Codec envelope type is now an explicit TypedDict class with
`name` and `configuration` fields, rather than a NamedRequiredConfig[...]
generic alias. Readable at the call site, surfaces the spec structure
directly, and allows a real class-level docstring.

Also:
  - Drop BloscCodecConfigurationNumcodecs from zarr-metadata. numcodecs-
    shape modeling belongs in zarr-python (which implements that shape),
    not in zarr-metadata (which is spec-only).
  - Rename BloscCodecConfigurationV1 to BloscCodecConfiguration, matching
    the unversioned naming used for the other codecs.
  - Restore BloscConfigV2 locally in zarr-python for the numcodecs shape.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(metadata): add Final string constants for codec names and enum-valued fields

Each codec now exports SCREAMING_CASE Final constants alongside the
Literal types. Downstream packages can reference the spec-defined
strings without retyping magic strings.

Codec names: BLOSC_CODEC_NAME, BYTES_CODEC_NAME, CRC32C_CODEC_NAME,
GZIP_CODEC_NAME, SHARDING_CODEC_NAME, TRANSPOSE_CODEC_NAME, ZSTD_CODEC_NAME.

Enum-valued field values:
  - Blosc: BLOSC_SHUFFLE_{NOSHUFFLE,SHUFFLE,BITSHUFFLE},
    BLOSC_CNAME_{LZ4,LZ4HC,BLOSCLZ,SNAPPY,ZLIB,ZSTD}
  - Bytes: BYTES_ENDIAN_{LITTLE,BIG} (also extracts the existing
    Literal into a new `Endian` alias)
  - Sharding: SHARDING_INDEX_LOCATION_{START,END} (and `IndexLocation`
    Literal alias)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(metadata): say "codec metadata" instead of "codec envelope"

Rewords docstrings and test names throughout the package: the {Codec}Codec
TypedDict describes a codec's JSON metadata, not a "named-config envelope."
Less jargon, consistent with the package name. Identifier names are
unchanged (still BloscCodec, GzipCodec, etc.).

Also renames v3/array.py chunk-grid docstrings for consistency
(Regular/Rectilinear ChunkGrid "metadata" rather than "named-config
container"), and updates the README.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(metadata): use single-backtick markdown code formatting

Convert all double-backtick RST-style inline code in zarr-metadata
docstrings to single-backtick markdown style. The package's
documentation will be rendered by mkdocs, which expects markdown, so
single backticks render correctly as inline code.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(metadata): add v3 spec data type metadata

Models the spec-defined v3 data types from zarr-specs core and
zarr-extensions:

  * `dtype/primitive.py` (NEW) - Final constants and `PrimitiveDTypeName`
    Literal union for all 14 core v3 primitives (bool, int8..int64,
    uint8..uint64, float16..float64, complex64, complex128).

  * `dtype/bytes.py` - adds `BYTES_DTYPE_NAME` and `BytesDTypeName` for
    the variable-length `bytes` extension; adds `NullTerminatedBytes`
    envelope TypedDict for `null_terminated_bytes` (zarr-extensions).
    Retains `FixedLengthBytesConfig` (re-exported by zarr-python).

  * `dtype/string.py` - adds `STRING_DTYPE_NAME`/`StringDTypeName` for
    the `string` extension; adds `FixedLengthUtf32` envelope. Retains
    `LengthBytesConfig`.

  * `dtype/time.py` - adds `NumpyDatetime64` and `NumpyTimedelta64`
    envelopes plus name constants/literals. The shared `TimeConfig` body
    is preserved.

  * `dtype/struct.py` (NEW) - the `struct` extension type, with
    `StructField`, `StructConfig`, and `Struct` envelope. Fields hold
    recursive `DType` values, supporting nested structs.

The `r<N>` raw-bytes type from the core spec is parameterised on bit
count, not a single literal name, so it isn't given a TypedDict; consumers
match it against the wider `DType` alias.

Tests updated and extended for the new types and constants.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(metadata): per-dtype modules with fill-value types and validators

Restructure `zarr_metadata.dtype.*` so each spec data type lives in its
own module, mirroring the per-codec layout in `zarr_metadata.codec.*`
and the per-dtype directory layout in zarr-extensions.

New per-type modules (one per spec data type):
  bool.py, int8/16/32/64.py, uint8/16/32/64.py,
  float16/32/64.py, complex64/128.py,
  bytes.py, string.py, numpy_datetime64.py, numpy_timedelta64.py,
  struct.py, raw.py

Each module exports:
  - {DTYPE}_DTYPE_NAME (Final str)
  - {DType}DTypeName (Literal)
  - For envelope types: a {DType} TypedDict + a {DType}Configuration
  - {DType}FillValue alias for the JSON shape of `fill_value`

Removed `null_terminated_bytes` and `fixed_length_utf32` from
zarr-metadata: they are not in zarr-specs or zarr-extensions; they are
zarr-python-specific. Their `LengthBytesConfig` and
`FixedLengthBytesConfig` TypedDicts now live locally in zarr-python at
src/zarr/core/dtype/npy/{string,bytes}.py.

zarr.core.dtype.npy.common now imports `DateTimeUnit` from
`zarr_metadata.dtype.numpy_datetime64`. zarr.core.dtype.npy.time imports
`TimeConfig` (aliased from `NumpyDatetime64Configuration`).

NewType + validating-constructor pattern for non-literal spec strings:
  - HexFloat{16,32,64} for the float hex-string fill values
  - Base64Bytes for the `bytes` base64 fill value
  - RawBytesDTypeName for the `r<N>` parameterised name

These make spec-format constraints visible to the type system; the
matching validating constructors (e.g. `hex_float32`) are the only
runtime logic in the package and are minimal regex checks.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(metadata): per-grid and per-encoding modules for chunk_grid + chunk_key_encoding

Move chunk-grid TypedDicts out of `v3/array.py` into per-type modules,
mirroring the per-codec and per-dtype layouts:

  packages/zarr-metadata/src/zarr_metadata/v3/
  ├── chunk_grid/
  │   ├── __init__.py
  │   ├── regular.py        # core spec
  │   └── rectilinear.py    # zarr-extensions
  └── chunk_key_encoding/
      ├── __init__.py       # ChunkKeySeparator alias
      ├── default.py        # core spec
      └── v2.py             # core spec

Each module exports:
  - {NAME}_NAME (Final str)
  - {Name} (TypedDict envelope)
  - {Name}Configuration (TypedDict body)
  - {Name}Name (Literal type of the `name` field)

`v3/array.py` shrinks to just `AllowedExtraField`, `MetadataField`, and
`ArrayMetadataV3`. `chunk_grid` and `chunk_key_encoding` fields stay
typed as `MetadataField` (str | NamedConfig) -- narrowing them to a
specific union belongs in a future validation layer, not in the
spec-faithful types layer.

Configuration TypedDicts renamed from `*Config` to `*Configuration`
to match the dtype/codec naming. zarr.core.metadata.v3 re-exports
preserve the legacy `*Config` aliases via `as` imports.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(metadata): move codec/ and dtype/ under v3/

Both directories model v3-spec artifacts, so they belong under the
v3/ subpackage alongside v3/array, v3/group, v3/consolidated,
v3/chunk_grid, and v3/chunk_key_encoding.

The principle is now: anything imported from `zarr_metadata.v3.X` is a
v3-spec artifact; anything from `zarr_metadata.v2.X` is a v2-spec
artifact; only true cross-version primitives sit at the top level
(`zarr_metadata.JSON`, `NamedConfig`, `NamedRequiredConfig`, and the
`ArrayMetadata`/`GroupMetadata` unions).

Path moves:
  zarr_metadata.codec.*  -> zarr_metadata.v3.codec.*
  zarr_metadata.dtype.*  -> zarr_metadata.v3.dtype.*

Internal imports inside the moved modules and zarr-python re-export
sites updated accordingly. zarr.abc.codec imports the zarr-metadata
Codec alias with a private name to avoid colliding with its own
runtime `Codec` union (`ArrayArrayCodec | ArrayBytesCodec |
BytesBytesCodec`), then re-exports as `CodecJSON`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(metadata): rename v3/dtype/ -> v3/data_type/

Matches the v3 spec field name `data_type` exactly. All imports inside
the package and in zarr-python re-export sites updated accordingly.

The `DType` type alias keeps its short name (it's the widely understood
abbreviation for "data type JSON shape"); only the module path changes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat: add zarr-metadata package

Adds packages/zarr-metadata, a sibling PyPI package that contains
spec-defined Zarr v2 and v3 metadata types as pure-typing artifacts
(TypedDicts, type aliases, Final string constants, NewType validators).
No runtime logic beyond minimal regex validators for spec-format-locked
strings (hex floats, base64 bytes, raw-bytes name).

Layout (anything imported from `zarr_metadata.v3.X` is a v3-spec
artifact; from `zarr_metadata.v2.X` is v2-spec; only true cross-version
primitives sit at the top level):

  zarr_metadata/
  ├── common.py                # JSON, NamedConfig, NamedRequiredConfig
  ├── __init__.py              # ArrayMetadata, GroupMetadata unions
  ├── v2/
  │   ├── array.py, group.py, consolidated.py, codec.py
  └── v3/
      ├── array.py, group.py, consolidated.py
      ├── chunk_grid/      {regular, rectilinear}
      ├── chunk_key_encoding/ {default, v2}
      ├── codec/           {blosc, bytes, crc32c, gzip,
      │                     sharding, transpose, zstd}
      └── data_type/       {bool, int8/16/32/64, uint8/16/32/64,
                            float16/32/64, complex64/128, bytes,
                            string, numpy_datetime64, numpy_timedelta64,
                            struct, raw}

zarr-python source is unchanged in this branch. zarr-metadata is shipped
as an independent package; a follow-up PR will adopt it inside zarr-python
once the package is published to PyPI.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test(metadata): drop tests that don't actually test anything

The structural tests constructed dict literals annotated with TypedDict
types and asserted that a key we just inserted came back out -- which
exercises Python's dict, not the type. The TypedDict has no runtime
shape check, so even a type-incompatible dict would pass. Pyright (in
CI) is what actually verifies the shapes.

Constant-equality tests (e.g. `assert NAME == "name"`) also tested
nothing.

Kept the validating-constructor tests for hex_float{16,32,64},
base64_bytes, and raw_bytes_dtype_name -- those exercise real regex
logic and catch real bugs.

Replaced test_imports.py with a single smoke test that confirms the
package loads and the top-level union types are reachable. Renamed
test_structural.py -> test_validators.py to match what it actually
tests.

Test count: 47 -> 6, ~750 lines -> 89.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* build(metadata): lower minimum Python to 3.11

zarr-metadata is a typing-only foundational package consumed by
libraries; supporting one Python version below the current minimum
widens the audience at minimal cost.

The only blocker was PEP 695 generic class syntax in `common.py`:

    class NamedConfig[TName: str, TConfig: ...](TypedDict):

Rewritten to the PEP 484 `Generic[T]` form, which works on 3.11+.
The two affected classes carry `# noqa: UP046` comments since the
ruff rule pushes toward the newer syntax that we deliberately avoid.

All other modern features (PEP 604 `X | Y` unions at runtime,
`NotRequired`, `extra_items=` via typing_extensions, `ReadOnly`)
already work on 3.11.

Verified: package imports and all 6 tests pass on Python 3.11.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor: remove generic base metadata

* refactor: clean up codecs init

* fix: correct v2 structured dtype spec

* refactor: drop readonly for numcodecs config

* docs: improve docstring

* fix: use empty typeddict for crc32c config

* fix: remove arbitrary json from consolidated model

* fix: don't depend on zarr-metadata yet

* fix: typesize is not required

* fix: re-wire zarr-metadata up as a dependency for zarr-python

* chore: revert changes to src/zarr

* chore: mypy ignore the new package

* refactor: rename extra field

* refactor: we do a little refactoring

* test: more dtype tests

* chore: add ci

* chore: use typing extensions typeddict

* fix: unbreak ci

* chore: clean up top level exports

* chore: clarify extension fields and rename type

* allow must_understand: true, and add canonical nan strings

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…tead of the target data type in the (zarr-developers#3938)

"can we use an out of range mode" check. This means a float dtype source and an int dtype target would
raise an error, which is incorrect.

the fix ensures that we check the _target_ dtype.
…-developers#3941)

* fix: use contextual arrayspec when validating / evolving codecs

* docs: changelog

* fix: gate tests depending on presence of compiled backend
* fix: defer to fsspec for memory url scheme

* docs: changelog

* test: add test for the memory scheme : memoryfilesystem mapping
* release:3.2.1 release notes

* docs: add changelog entry

* docs: remove changelog

* Fix date and add link

---------

Co-authored-by: Max Jones <14077947+maxrjones@users.noreply.github.com>
…#3940)

Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com>
zarr-developers#3930)

Bumps the actions group with 12 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `6.0.1` | `6.0.2` |
| [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) | `6.1.0` | `8.1.0` |
| [CodSpeedHQ/action](https://github.com/codspeedhq/action) | `4.12.1` | `4.14.0` |
| [codecov/codecov-action](https://github.com/codecov/codecov-action) | `5.3.1` | `6.0.0` |
| [actions/cache](https://github.com/actions/cache) | `5.0.4` | `5.0.5` |
| [github/issue-metrics](https://github.com/github/issue-metrics) | `3.25.5` | `4.2.2` |
| [j178/prek-action](https://github.com/j178/prek-action) | `1.1.1` | `2.0.2` |
| [scientific-python/upload-nightly-action](https://github.com/scientific-python/upload-nightly-action) | `0.6.3` | `0.6.4` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `7.0.0` | `7.0.1` |
| [actions/download-artifact](https://github.com/actions/download-artifact) | `7.0.0` | `8.0.1` |
| [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) | `1.13.0` | `1.14.0` |
| [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action) | `0.5.2` | `0.5.3` |



Updates `actions/checkout` from 6.0.1 to 6.0.2
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v6.0.1...de0fac2)

Updates `astral-sh/setup-uv` from 6.1.0 to 8.1.0
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](astral-sh/setup-uv@v6.1...0880764)

Updates `CodSpeedHQ/action` from 4.12.1 to 4.14.0
- [Release notes](https://github.com/codspeedhq/action/releases)
- [Changelog](https://github.com/CodSpeedHQ/action/blob/main/CHANGELOG.md)
- [Commits](CodSpeedHQ/action@1c8ae48...658a901)

Updates `codecov/codecov-action` from 5.3.1 to 6.0.0
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v5.3.1...57e3a13)

Updates `actions/cache` from 5.0.4 to 5.0.5
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@6682284...27d5ce7)

Updates `github/issue-metrics` from 3.25.5 to 4.2.2
- [Release notes](https://github.com/github/issue-metrics/releases)
- [Commits](github-community-projects/issue-metrics@67526e7...c9e9838)

Updates `j178/prek-action` from 1.1.1 to 2.0.2
- [Release notes](https://github.com/j178/prek-action/releases)
- [Commits](j178/prek-action@0bb87d7...cbc2f23)

Updates `scientific-python/upload-nightly-action` from 0.6.3 to 0.6.4
- [Release notes](https://github.com/scientific-python/upload-nightly-action/releases)
- [Commits](scientific-python/upload-nightly-action@5748273...e76cfec)

Updates `actions/upload-artifact` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@bbbca2d...043fb46)

Updates `actions/download-artifact` from 7.0.0 to 8.0.1
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](actions/download-artifact@37930b1...3e5f45b)

Updates `pypa/gh-action-pypi-publish` from 1.13.0 to 1.14.0
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](pypa/gh-action-pypi-publish@ed0c539...cef2210)

Updates `zizmorcore/zizmor-action` from 0.5.2 to 0.5.3
- [Release notes](https://github.com/zizmorcore/zizmor-action/releases)
- [Commits](zizmorcore/zizmor-action@71321a2...b1d7e1f)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: astral-sh/setup-uv
  dependency-version: 8.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: CodSpeedHQ/action
  dependency-version: 4.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: codecov/codecov-action
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/cache
  dependency-version: 5.0.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: github/issue-metrics
  dependency-version: 4.2.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: j178/prek-action
  dependency-version: 2.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: scientific-python/upload-nightly-action
  dependency-version: 0.6.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: actions/download-artifact
  dependency-version: 8.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: pypa/gh-action-pypi-publish
  dependency-version: 1.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: zizmorcore/zizmor-action
  dependency-version: 0.5.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com>
* chore: update pre-commit hooks

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.4 → v0.15.12](astral-sh/ruff-pre-commit@v0.15.4...v0.15.12)
- [github.com/codespell-project/codespell: v2.4.1 → v2.4.2](codespell-project/codespell@v2.4.1...v2.4.2)
- [github.com/pre-commit/mirrors-mypy: v1.19.1 → v1.20.2](pre-commit/mirrors-mypy@v1.19.1...v1.20.2)
- [github.com/scientific-python/cookie: 2026.03.02 → 2026.04.04](scientific-python/cookie@2026.03.02...2026.04.04)
- [github.com/zizmorcore/zizmor-pre-commit: v1.23.1 → v1.24.1](zizmorcore/zizmor-pre-commit@v1.23.1...v1.24.1)

* chore: fix pre-commit failures

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com>
* refactor: rename guess_chunks to more clearly indicate that it guesses regular chunks

* fix: use the same chunk normalization path in all cases

Previously rectilinear chunk grids and regular chunk grids normalized chunks inconsistently.
This change ensures that chunk specifications are always normalized by the same routines in all cases.

This change also ensures that chunks=(-1, ...) consistently normalizes to a full length chunk along that axis.

* refactor: use newtype pattern

* docs: changelog

* fix: handle 0-length arrays

* test: test untested cases of chunk normalization

* fix: don't accept inane input

* test: check error states in normalize_chunks_1d

* refactor: make resolvedchunking recursive to support nested sharding

* test: add _assert_chunks_equal helper for ChunksTuple

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* perf: ChunksTuple uses 1D int64 arrays per axis

Switch normalize_chunks_1d to return np.ndarray[tuple[int], np.dtype[np.int64]]
instead of tuple[int, ...]. The uniform-chunks branch now constructs in O(1)
via np.full, recovering the single-allocation fast path that regressed when
the canonical ChunksTuple representation was introduced.

Update create_chunk_grid_metadata in v3.py to convert arrays to tuples of ints
before passing to is_regular_nd and RectilinearChunkGridMetadata, keeping those
downstream functions' signatures unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* revert: undo out-of-scope v3.py changes from 14788aa

The previous commit 14788aa was meant to only touch chunk_grids.py
(Tasks 2+3 of the ChunksTuple → int64-array refactor). It also
modified create_chunk_grid_metadata in v3.py — that change belongs
to a later task with a different approach (widen annotations rather
than materialize tuples) and a better perf profile.

Restoring v3.py to its pre-14788aa state. The proper v3.py change
will land in a follow-up commit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix: cast ChunksTuple elements to int at consumer sites in array.py

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix: widen is_regular_* annotations and cast ChunksTuple in create_chunk_grid_metadata

Accept ndarray[int64] in is_regular_1d/is_regular_nd alongside Sequence[int].
Cast only the first element per axis on the regular path so D ints are
allocated rather than N*D. Materialize fully on the rectilinear path because
_validate_chunk_shapes checks isinstance(dim_spec, int) which rejects np.int64.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test: cast ChunksTuple elements to int in create_array_metadata fixture

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test: rewrite ChunksTuple equality checks and add return-type characterization

Use _assert_chunks_equal for the three call sites that compared a tuple of
int64 arrays against a tuple of int tuples. Add three small tests asserting
that normalize_chunks_1d returns a 1D int64 ndarray for uniform, explicit-list,
and -1 sentinel inputs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* perf: vectorize is_regular_1d for ndarray inputs

Per-element Python iteration over a 100K-element int64 array dominated
create_array runtime on the (10**8,) chunks=(1000,) regression case
(~6 ms in is_regular_nd, downstream of ChunksTuple normalization).
Dispatch on np.ndarray and use a single vectorized comparison instead.

End-to-end create_array on the regression case: ~7.9 ms -> ~0.6 ms.

Promote numpy to a runtime import (was TYPE_CHECKING-only) for the
isinstance dispatch.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor: rename ResolvedChunking to ChunkLayout

Names the structure (a layout) rather than the operation that produced it.
Reads cleanly for both sharded and unsharded cases, fits the recursive
inner-layout pattern, and is what one reaches for when reading the code cold.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* chore: add informative error for invalid chunk grid parameter

* chore: make tests compact

* fix: typos

* test: add tests for regular grid helper functions

* fix: reject chunks=True

* docs: update changelog

* docs: remove unneeded changelog entry

* test: test for explicit 0-sized chunk length rejection

* chore: hoist imports

* refactor: add as_regular_shape helper routine

* Update src/zarr/core/chunk_grids.py

Co-authored-by: Max Jones <14077947+maxrjones@users.noreply.github.com>

* Update src/zarr/core/chunk_grids.py

Co-authored-by: Max Jones <14077947+maxrjones@users.noreply.github.com>

* Update src/zarr/core/array.py

Co-authored-by: Max Jones <14077947+maxrjones@users.noreply.github.com>

* chore: cleanup

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Max Jones <14077947+maxrjones@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.