{"id":28538229,"url":"https://github.com/zarr-developers/pydantic-zarr","last_synced_at":"2025-07-08T08:31:01.997Z","repository":{"id":171116045,"uuid":"647463932","full_name":"zarr-developers/pydantic-zarr","owner":"zarr-developers","description":"Pydantic models for Zarr ","archived":false,"fork":false,"pushed_at":"2025-06-08T08:18:44.000Z","size":776,"stargazers_count":32,"open_issues_count":14,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-26T14:11:34.161Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zarr-developers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-05-30T20:55:13.000Z","updated_at":"2025-06-15T17:35:15.000Z","dependencies_parsed_at":"2023-08-14T17:37:25.816Z","dependency_job_id":"1564a25e-9f73-431c-929c-17de02f47512","html_url":"https://github.com/zarr-developers/pydantic-zarr","commit_stats":null,"previous_names":["d-v-b/pydantic-zarr","janelia-cellmap/pydantic-zarr","zarr-developers/pydantic-zarr"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/zarr-developers/pydantic-zarr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zarr-developers%2Fpydantic-zarr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zarr-developers%2Fpydantic-zarr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zarr-developers%2Fpydantic-zarr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zarr-developers%2Fpydantic-zarr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zarr-developers","download_url":"https://codeload.github.com/zarr-developers/pydantic-zarr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zarr-developers%2Fpydantic-zarr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262887159,"owners_count":23379766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-09T18:11:38.241Z","updated_at":"2025-07-08T08:31:01.989Z","avatar_url":"https://github.com/zarr-developers.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pydantic-zarr\n\n[![PyPI](https://img.shields.io/pypi/v/pydantic-zarr)](https://pypi.python.org/pypi/pydantic-zarr)\n\n[Pydantic](https://docs.pydantic.dev/latest/) models for [Zarr](https://zarr.readthedocs.io/en/stable/index.html).\n\n## Installation\n\n`pip install -U pydantic-zarr`\n\n## Getting help\n\n- Docs: see the [documentation](https://zarr.dev/pydantic-zarr/) for detailed information about this project.\n- Chat: We use [Zulip](https://ossci.zulipchat.com/#narrow/channel/423692-Zarr) for project-related chat.\n\n## Example\n\n```python\nimport zarr\nfrom pydantic_zarr import GroupSpec\n\ngroup = zarr.group(path='foo')\narray = zarr.create(store = group.store, path='foo/bar', shape=10, dtype='uint8')\narray.attrs.put({'metadata': 'hello'})\n\n# this is a pydantic model\nspec = GroupSpec.from_zarr(group)\nprint(spec.model_dump())\n\"\"\"\n{\n    'zarr_format': 2,\n    'attributes': {},\n    'members': {\n        'bar': {\n            'zarr_format': 2,\n            'attributes': {'metadata': 'hello'},\n            'shape': (10,),\n            'chunks': (10,),\n            'dtype': '|u1',\n            'fill_value': 0,\n            'order': 'C',\n            'filters': None,\n            'dimension_separator': '.',\n            'compressor': {\n                'id': 'blosc',\n                'cname': 'lz4',\n                'clevel': 5,\n                'shuffle': 1,\n                'blocksize': 0,\n            },\n        }\n    },\n}\n\"\"\"\n```\n\n## History\n\nThis 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzarr-developers%2Fpydantic-zarr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzarr-developers%2Fpydantic-zarr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzarr-developers%2Fpydantic-zarr/lists"}