meta_pixel
Tapesearch Logo
Log in
Talk Python To Me

#349: Meet Beanie: A MongoDB ODM + Pydantic

Talk Python To Me

Michael Kennedy

Technology

4.8635 Ratings

🗓️ 22 January 2022

⏱️ 81 minutes

🧾️ Download transcript

Summary

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.

Transcript

Click on a timestamp to play from that location

0:00.0

This podcast episode that you're listening to right now was delivered to you in part by MongoDB and Python,

0:07.1

powering our web apps and production processes.

0:10.3

But if you're using Pi Mongo, the native driver from MongoDB, to talk to the server,

0:15.7

then you might be doing it wrong.

0:18.1

Basing your app on a foundation of exchanging raw dictionaries is a castle

0:22.2

built on sand. And by the way, see the joke at the end of the show about that. You should be using

0:27.4

an ODM, an object document mapper. This time we're talking about Beanie, which is one of the

0:32.5

exciting new MongoDB ODMs, which is based on Pidentic and is async native.

0:38.8

Join me as I discussed this project with its creator, Roman Wright.

0:42.4

This is Talk Python and Me, episode 349, recorded weekly podcast on Python. This is your host, Michael Kennedy.

1:06.1

Follow me on Twitter where I'm at M. Kennedy and keep up with a show and listen to past episodes at talk python.fm and follow the show on Twitter via at talk python. This episode is brought to

1:17.3

by Century and us over at Talk Python Training. Please check out what we're both offering during

1:22.8

our segments. It really helps support the show. Hey folks, it's great to have you listening, as always.

1:28.1

A quick bit of news before we talk with Roman.

1:30.8

I've been looking for a way to explore ideas teaching Python, get some feedback,

1:34.7

and then bring what I've learned back to the course content.

1:37.0

So I'm kicking off a new initiative over on YouTube.

1:40.0

It's called Python Shorts, and the goal is to teach you one thing,

1:43.5

both interesting and useful

1:44.8

as well as actionable, about Python. I have three videos out so far. The first, parsing data with

1:51.8

Pidentic, the second, counting the number of times an item appears in a list with counter,

1:56.6

and third, do you even need loops in Python? I also published a fourth video about using the stream deck, that little button device

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Michael Kennedy, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Michael Kennedy and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2025.