Monitor performance issues & errors in your code

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:
Beanie Relations, Cache, Actions and more!🎉🚀:
Weather Talk Python API docs:
JetBrains fleet:
Loading Document Objects to Beanie Dynamically:

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

--- Stay in touch with us ---
Subscribe to us on YouTube:
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