Integrity checks and creation helpers for Zarr v3 stores
Project description
xzarrguard
xzarrguard provides concise APIs and a CLI to validate completeness of local Zarr v3 stores and create stores with explicit no-data policy.
Install
pip install .
API quickstart
from xzarrguard import check_store, create_store
report = check_store("store.zarr")
if report:
print("store is complete")
create_store(
dataset,
"store.zarr",
no_data_chunks={"temperature": [(0, 0)]},
no_data_strategy="manifest",
)
CLI quickstart
xzarrguard check store.zarr
xzarrguard create source.zarr target.zarr --no-data no_data.json
Coverage
pytest
pytest prints terminal coverage and writes coverage.xml.
Documentation
https://j-haacker.github.io/xzarrguard/
zensical serve
zensical build --clean
Release (maintainers)
# bump src/xzarrguard/_version.py first
python -m build
python -m twine check dist/*
python -m twine upload dist/*
Use a PyPI API token for upload (for example TWINE_USERNAME=__token__).
For conda-forge, update recipe/meta.yaml after the PyPI release (fixed version + PyPI sdist URL + sha256), then submit a recipe/feedstock PR.
Acknowledgement: Initial scaffolding and implementation assistance by OpenAI Codex.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xzarrguard-0.1.0.tar.gz.
File metadata
- Download URL: xzarrguard-0.1.0.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbbff155b731126ef500142b675ef426a7b4102b1856b7b81dd0d757979c6d49
|
|
| MD5 |
4557b37ba558d20ba9e7e0af21489c48
|
|
| BLAKE2b-256 |
434a5b19f431e1a8681980d12880fe44e056600c0a36d9ae437d130d5ca9d7c4
|
File details
Details for the file xzarrguard-0.1.0-py3-none-any.whl.
File metadata
- Download URL: xzarrguard-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eba7fbd8611918f6975a4f63b4608b3e22f66fbddb878357b2a9f94d508a07c8
|
|
| MD5 |
ba585d750654e862bba1446b4b9037a1
|
|
| BLAKE2b-256 |
7413a8d6768691639467a7d9d5878d4ec7f20237508f06fa126e0ed2c3c69bd1
|