Skip to main content

Python utilities for the Zarr Vector Format (ZVF) — cloud-native storage for points, lines, streamlines, graphs, and meshes.

Project description

[!NOTE] This package is under active development.

zarr-vectors

Tools for Zarr Vectors Data

zarr-vectors-py is a Python package for reading, writing, and managing large-scale vector geometry data in the zarr vectors format — a chunked, cloud-native format built on Zarr v3 for multiscale points, lines, streamlines, graphs, skeletons, and meshes.

The package supports supervoxel-level spatial binning with separated chunk and bin sizes, per-level object sparsity for balanced multi-resolution pyramids, and OME-Zarr-compatible multiscale metadata.

Aligned to the Zarr Vectors specification by Forrest Collman, Allen Institute for Brain Sciences Link to specification GitHub


Documentation

link to readthedocs: https://zarr-vectors-py.readthedocs.io/en/latest


Install

pip install zarr-vectors

Store Layout

dataset.zarrvectors/
├── .zattrs                          # root metadata: SID, CRS, conventions, base_bin_shape
├── 0/                    # full resolution (bin_ratio = 1,1,1)
│   ├── vertices/                    # spatial positions (ragged per bin)
│   ├── vertex_group_offsets/        # byte offsets for sub-bin random access
│   ├── links/                       # connectivity (edges, faces, parents)
│   ├── attributes/                  # per-vertex data
│   │   ├── intensity/
│   │   └── gene_expression/
│   ├── object_index/                # object ID → (chunk, vertex_group) mapping
│   ├── object_attributes/           # per-object metadata
│   ├── groupings/                   # group ID → [object IDs]
│   ├── groupings_attributes/        # per-group metadata
│   └── cross_chunk_links/           # connectivity across chunk boundaries
├── 1/                    # coarsened (bin_ratio, object_sparsity in .zattrs)
│   └── [same arrays]
├── parametric/                      # algebraic objects (planes, spheres)
│   ├── objects/
│   └── object_attributes/
└── metadata.json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zarr_vectors-0.2.0.tar.gz (10.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zarr_vectors-0.2.0-py3-none-any.whl (231.3 kB view details)

Uploaded Python 3

File details

Details for the file zarr_vectors-0.2.0.tar.gz.

File metadata

  • Download URL: zarr_vectors-0.2.0.tar.gz
  • Upload date:
  • Size: 10.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for zarr_vectors-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b3be1eaa1dfeda8a316f624086f668a03f797078e34690f2fecb9a3820895a20
MD5 709f952d67a6901052803c30c8250ca0
BLAKE2b-256 7816c5480d33296c33eb5a33e3510d29a3a589e4ee3a09ca06f2e2e4838f92e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for zarr_vectors-0.2.0.tar.gz:

Publisher: release.yml on AllenInstitute/zarr-vectors-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zarr_vectors-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: zarr_vectors-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 231.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for zarr_vectors-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a955d29b9c3630075e6eb62f1075cc41c707a6f11797ab9a2b250ef8dbb5bbd3
MD5 083a11c1c4f0ff9257f93e4b353c1f8b
BLAKE2b-256 c42c92e07401a7d305e9aa391642f6421a8fdcf9b6f918d4f3c3215acb82c972

See more details on using hashes here.

Provenance

The following attestation bundles were made for zarr_vectors-0.2.0-py3-none-any.whl:

Publisher: release.yml on AllenInstitute/zarr-vectors-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page