SQLModel: The New ORM for FastAPI and Beyond - Talk Pythonto Me Ep.353
Talk Python Talk Python
24.2K subscribers
35,530 views
0

 Published On Streamed live on Jan 17, 2022

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.

▬▬▬▬ About the podcast ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

This video is the uncut, live recording of the Talk Python To Me podcast ( https://talkpython.fm ). We cover Python-focused topics every week and publish the edited and polished version in audio form. Subscribe in your podcast player of choice (100% free) at https://talkpython.fm/subscribe.

▬▬▬▬ Guests ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Sebastián Ramírez:   / tiangolo  

▬▬▬▬ Links and resources from the show ▬▬▬▬▬▬▬▬▬▬▬▬

SQLModel: https://sqlmodel.tiangolo.com/
Create a SQLModel Model: https://sqlmodel.tiangolo.com/#create...
Multiple Models: https://sqlmodel.tiangolo.com/tutoria...

FastAPI Talk Python episode: https://talkpython.fm/episodes/show/2...
FastAPI Dependency Injection: https://fastapi.tiangolo.com/tutorial...

ODMantic for MongoDB: https://github.com/art049/odmantic
Beanie for MongoDB: https://github.com/roman-right/beanie

Michael's Short video on Pydantic:    • Parsing data with Pydantic - A Python...  
FastAPI courses by Michael: https://training.talkpython.fm/fastap...

Listen this episode on Talk Python: https://talkpython.fm/episodes/show/3...
Episode transcripts: https://talkpython.fm/episodes/transc...

▬▬▬▬ Dive deeper ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Listen to the Talk Python To Me podcast at https://talkpython.fm Over 250 hours of Python courses at https://training.talkpython.fm/courses Follow us on on Mastodon. Michael: https://fosstodon.org/@mkennedy & Talk Python https://fosstodon.org/@talkpython

show more

Share/Embed