Type and shape validation and serialization for numpy arrays in pydantic models
Find a file
2024-02-02 01:01:31 -08:00
.github/workflows initial package structuring and import from nwb_linkml 2024-02-02 01:01:31 -08:00
docs initial package structuring and import from nwb_linkml 2024-02-02 01:01:31 -08:00
numpydantic initial package structuring and import from nwb_linkml 2024-02-02 01:01:31 -08:00
.gitignore Initial commit 2024-02-01 17:50:57 -08:00
.readthedocs.yaml initial package structuring and import from nwb_linkml 2024-02-02 01:01:31 -08:00
LICENSE Initial commit 2024-02-01 17:50:57 -08:00
poetry.lock initial package structuring and import from nwb_linkml 2024-02-02 01:01:31 -08:00
pyproject.toml initial package structuring and import from nwb_linkml 2024-02-02 01:01:31 -08:00
README.md initial package structuring and import from nwb_linkml 2024-02-02 01:01:31 -08:00

numpydantic

PyPI - Version Documentation Status Coverage Status Code style: black

Type and shape validation and serialization for numpy arrays in pydantic models

This package was picked out of nwb-linkml, a translation of the NWB schema language and data format to linkML and pydantic models.

It does two primary things:

  • Provide types - Annotations (based on npytyping) for specifying numpy arrays in pydantic models, and
  • Generate models from LinkML - extend the LinkML pydantic generator to create models that that use the linkml-arrays syntax