Search

Home > Talk Python To Me - Python conversations for passionate developers > #353: SQLModel: The New ORM for FastAPI and Beyond
Podcast: Talk Python To Me - Python conversations for passionate developers
Episode:

#353: SQLModel: The New ORM for FastAPI and Beyond

Category: Technology
Duration: 01:18:21
Publish Date: 2022-01-17 08:00:00
Description: Two frameworks that have taken the Python world by storm are FastAPI and Pydantic. Once you already have your data exchange modeled in Pydantic, you might want to use that code for storing it in the database. And, if you have DB models you might want to somehow use them to power and document the APIs built with FastAPI.

But the popular ORMs, such as SQLAlchemy and others, far predate Pydantic. But could they be put together?

Sebastián Ramírez is here to tell us the answer is yes. We're covering his project SQLModel which is the marriage between Pydantic and SQLAlchemy.

Links from the show

Sebastián Ramírez: @tiangolo

SQLModel: sqlmodel.tiangolo.com
Create a SQLModel Model: sqlmodel.tiangolo.com
Multiple Models: sqlmodel.tiangolo.com

FastAPI Talk Python episode: talkpython.fm/284
FastAPI Dependency Injection: fastapi.tiangolo.com

ODMantic for MongoDB: github.com
Beanie for MongoDB: github.com

Michael's Short video on Pydantic: youtube.com
FastAPI courses by Michael: training.talkpython.fm/fastapi-courses
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm

--- Stay in touch with us ---
Subscribe on YouTube: youtube.com
Follow Talk Python on Twitter: @talkpython
Follow Michael on Twitter: @mkennedy

Sponsors
Datadog
Tonic
Talk Python Training
Total Play: 0

Users also like

400+ Episodes
Lean Startup 700+     60+
6K+ Episodes
NHKラジオ .. 3K+     700+
200+ Episodes
Philosophize .. 1K+     70+
1K+ Episodes
Podcast Fran .. 1K+     100+
100+ Episodes
The React Po .. 20+     3

Some more Podcasts by Michael Kennedy

500+ Episodes
Python Bytes 60+     5