zarr_vectors¶
zarr-vectors: Python utilities for the Zarr Vectors (ZV) format.
Cloud-native storage for points, lines, streamlines, graphs, and meshes built on Zarr v3.
The flat top-level namespace. Importing zarr_vectors re-exports the whole
Data API surface — Dataset, Level, Query, Selection,
ReadResult, Schema, Layout, Grid, ObjectCatalog,
EditPlan, and the open / create entry-points — so
zarr_vectors.open(...) and zarr_vectors.api.open(...) are the same
object under two names.
Those names are documented once, on the page that carries the reasoning for
them: Data API for reading, querying and editing stores, and Building stores
for tools that create them. zarr_vectors.building is the same module as
the one documented there.
What is left below is the handful of names that exist only at the top level: they answer questions about the installed package rather than about a store.
- zarr_vectors.require_api(spec='', *, features=())[source]¶
Raise unless this build’s API surface satisfies
spec.- Parameters:
- Raises:
ImportError – If the requirement is not met.
ImportErrorrather than a ZVError because the failure is “this build does not have what I import”, and that is what a caller’s dependency handling already catches.- Return type:
None
- zarr_vectors.FEATURES = frozenset({'coarsen-strategy-options', 'presence-rebuild', 'query-cells', 'selection-level-optional', 'sharded-presence-guard', 'surfaces', 'vertex-attributes-on-read'})¶
frozenset() -> empty frozenset object frozenset(iterable) -> frozenset object
Build an immutable unordered collection of unique elements.