Scityping: type hints and serializers for scientific types in Python

Scityping: type hints and serializers for scientific types in Python#

SciTyping provides a collection of type annotations specifiers for Python types common in the fields of scientific computing, data science and machine learning. Most types come with a pair of JSON serializer/deserializer functions, which can be used both to archive and transfer data. In contrast to pickling, the resulting JSON data is both future safe and human readable, which makes especially useful for reproducible research.

This is similar to the way Pydantic adds serializable types for Python apps (especially webapps) – indeed, SciTyping is designed to be compatible with Pydantic, so you can use it to extend Pydantic with support for scientific data types.

Table of contents#