Mathew K Analytics

Learn Pydantic with free notebooks

8 free video lessons that use Pydantic, each with a downloadable Jupyter notebook and, where needed, the dataset. Learn Pydantic by working through real examples.

About these Pydantic lessons

These 8 lessons come from 2 different courses, so you see Pydantic used in several settings. The course with the most Pydantic lessons is FastAPI deep dive (7 lessons).

Pydantic is most often used here together with FastAPI, SQLAlchemy, pytest and datetime.

Watch the video, then run the notebook yourself: changing the code and re-running it is the fastest way to learn.

Courses that use Pydantic

Frequently asked questions

Where should I start learning Pydantic?

Start with “FastAPI Tutorial #3: Request Bodies & Pydantic Models”, then work through the FastAPI deep dive course.

Are these Pydantic lessons free?

Yes. Every video, notebook and dataset on this site is free to use for learning.

Can I run the Pydantic notebooks without installing Python?

Yes. Open them in Google Colab, or use the Run in browser button where a lesson has one.