Learn SQLAlchemy with free notebooks
3 free video lessons that use SQLAlchemy, each with a downloadable Jupyter notebook and, where needed, the dataset. Learn SQLAlchemy by working through real examples.
About these SQLAlchemy lessons
These 3 lessons come from 2 different courses, so you see SQLAlchemy used in several settings. The course with the most SQLAlchemy lessons is FastAPI deep dive (2 lessons).
SQLAlchemy is most often used here together with FastAPI, Pydantic 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 SQLAlchemy
- FastAPI deep dive – 2 lessons
- Python library centre – 1 lesson

FastAPI Tutorial #14: Databases with SQLAlchemy

FastAPI Tutorial #18: Capstone — Production-Ready API
20 minComprehensive Introduction to SQLAlchemy for Effective Python Database Management
Frequently asked questions
Where should I start learning SQLAlchemy?
Start with “FastAPI Tutorial #14: Databases with SQLAlchemy”, then work through the FastAPI deep dive course.
Are these SQLAlchemy lessons free?
Yes. Every video, notebook and dataset on this site is free to use for learning.
Can I run the SQLAlchemy notebooks without installing Python?
Yes. Open them in Google Colab, or use the Run in browser button where a lesson has one.