Learn Python with Talk Python's 270 hours of courses

Meet Beanie: A MongoDB ODM + Pydantic

Episode #349, published Sat, Jan 22, 2022, recorded Thu, Nov 18, 2021

This podcast episode you're listening to right now was delivered to you, in part, by MongoDB and Python powering our web apps and production processes. But if you're using pymongo, the native driver from MongoDB to talk to the server, you're doing it wrong. Basing your app on a foundation of exchanging raw dictionaries is a castle of sand. BTW, see the joke at the end of the show about this.

You should be using an ODM. This time we're talking about Beanie which is one of the exciting, new MongoDB Object Document Mappers which is based on Pydantic and is async-native. Join me as I discuss this project with its creator: Roman Right.

Watch this episode on YouTube
Play on YouTube
Watch the live stream version

Links from the show

Roman on Twitter: @roman_the_right
Beanie ODM: github.com
Tutorial: roman-right.github.io
Beanie Relations, Cache, Actions and more!🎉🚀: dev.to/romanright
Unsync: asherman.io
ResponseModel: fastapi.tiangolo.com
Weather Talk Python API docs: weather.talkpython.fm
JetBrains fleet: jetbrains.com
yarl: github.com
Joke: twitter.com/stoltzmaniac
Loading Document Objects to Beanie Dynamically: dev.pythonbynight.com

Michael's YouTube videos
Parsing data with Pydantic: youtube.com
Counting the number of times items appear: youtube.com
Do you even need loops in Python?: youtube.com
Stream Deck + PyCharm - Enhancing Python Developer Productivity: youtube.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm

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

Want to go deeper? Check out our courses

Talk Python's Mastodon Michael Kennedy's Mastodon