pydantic-zarr-0.9.2


توضیحات

Pydantic models for the Zarr file format
ویژگی مقدار
سیستم عامل -
نام فایل pydantic-zarr-0.9.2
نام pydantic-zarr
نسخه کتابخانه 0.9.2
نگهدارنده ['David Stansby']
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Davis Bennett <davis.v.bennett@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/pydantic-zarr/
مجوز -
# pydantic-zarr [![PyPI](https://img.shields.io/pypi/v/pydantic-zarr)](https://pypi.python.org/pypi/pydantic-zarr) [Pydantic](https://docs.pydantic.dev/latest/) models for [Zarr](https://zarr.readthedocs.io/en/stable/index.html). ## Installation ```sh pip install -U pydantic-zarr # or, with zarr i/o support pip install -U "pydantic-zarr[zarr]" ``` ## Getting help - Docs: see the [documentation](https://pydantic-zarr.readthedocs.io/) for detailed information about this project. - Chat: We use [Zulip](https://ossci.zulipchat.com/#narrow/channel/423692-Zarr) for project-related chat. ## Example ```python import zarr from pydantic_zarr import GroupSpec group = zarr.group(path='foo') array = zarr.create(store = group.store, path='foo/bar', shape=10, dtype='uint8') array.attrs.put({'metadata': 'hello'}) # this is a pydantic model spec = GroupSpec.from_zarr(group) print(spec.model_dump()) """ { 'zarr_format': 2, 'attributes': {}, 'members': { 'bar': { 'zarr_format': 2, 'attributes': {'metadata': 'hello'}, 'shape': (10,), 'chunks': (10,), 'dtype': '|u1', 'fill_value': 0, 'order': 'C', 'filters': None, 'dimension_separator': '.', 'compressor': { 'id': 'blosc', 'cname': 'lz4', 'clevel': 5, 'shuffle': 1, 'blocksize': 0, }, } }, } """ ``` ## History This project was developed at [HHMI / Janelia Research Campus](https://www.janelia.org/). It was originally written by Davis Bennett to solve problems he encountered while working on the [Cellmap Project team](https://www.janelia.org/project-team/cellmap/members). In December of 2024 this project was migrated from the [`janelia-cellmap`](https://github.com/janelia-cellmap) github organization to [`zarr-developers`](https://github.com/zarr-developers) organization.


نیازمندی

مقدار نام
- numpy>=2.0.0
- packaging>=21.0
- pydantic>2.0.0
xtr mkdocs-material;
xtr mkdocstrings[python];
xtr pydantic==2.12.*;
xtr pytest-examples;
xtr towncrier;
xtr zarr>=3.1.0;
xtr coverage;
xtr dask==2025.11.0;
xtr pytest-cov;
xtr pytest-examples;
xtr pytest<8.4;
xtr xarray==2025.10.0;
xtr zarr>=3.0.0;
xtr coverage;
xtr dask==2025.11.0;
xtr pytest-cov;
xtr pytest-examples;
xtr pytest<8.4;
xtr xarray==2025.10.0;
xtr zarr>=3.0.0;


زبان مورد نیاز

مقدار نام
>=3.12 Python


نحوه نصب


نصب پکیج whl pydantic-zarr-0.9.2:

    pip install pydantic-zarr-0.9.2.whl


نصب پکیج tar.gz pydantic-zarr-0.9.2:

    pip install pydantic-zarr-0.9.2.tar.gz