Table of contents# Getting started Compatibility with Pydantic Usage without Pydantic Origin and motivation An extensible serialization hierarchy Performance Running tests List of supported types Base types Functions NumPy types SciPy distributions Units PyTorch Defining serializers for preexisting types Standard: By subclassing the type with the same name By subclassing the type with a different name For types which don’t allow subclassing: register against ABC Registering the same serializer for multiple types Implementation logic Validation logic Serialization logic Serialization of NumPy arrays API reference scityping.base scityping.base_types scityping.json scityping.pydantic scityping.utils scityping.numpy scityping.scipy scityping.functions scityping.pint scityping.quantities scityping.torch