A not so long introduction to pydantic This repository contains examples related to the following blog post. Usage Install requirements using pip and run doctest. $ pip install -r requirements.txt $ python -m doctest examples/basic.py -v