Type and shape validation and serialization for numpy arrays in pydantic models
Find a file
2024-02-02 22:45:50 -08:00
.github/workflows initial package structuring and import from nwb_linkml 2024-02-02 01:01:31 -08:00
docs more incremental progress towards a v0.1.0, importing tests that will surely fail. 2024-02-02 22:45:50 -08:00
numpydantic more incremental progress towards a v0.1.0, importing tests that will surely fail. 2024-02-02 22:45:50 -08:00
tests more incremental progress towards a v0.1.0, importing tests that will surely fail. 2024-02-02 22:45:50 -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 more incremental progress towards a v0.1.0, importing tests that will surely fail. 2024-02-02 22:45:50 -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