Saturday, January 22, 2022

Talk Python to Me: #349: Meet Beanie: A MongoDB ODM + Pydantic

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. <br/> <br/> 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.<br/> <br/> <strong>Links from the show</strong><br/> <br/> <div><b>Roman on Twitter</b>: <a href="https://twitter.com/roman_the_right" target="_blank" rel="noopener">@roman_the_right</a><br/> <b>Beanie ODM</b>: <a href="https://ift.tt/3k0v5Tm" target="_blank" rel="noopener">github.com</a><br/> <b>Tutorial</b>: <a href="https://ift.tt/3fP4abj" target="_blank" rel="noopener">roman-right.github.io</a><br/> <b>Beanie Relations, Cache, Actions and more!🎉🚀</b>: <a href="https://ift.tt/3FNCyhf" target="_blank" rel="noopener">dev.to/romanright</a><br/> <b>Unsync</b>: <a href="https://ift.tt/2Mbjp35" target="_blank" rel="noopener">asherman.io</a><br/> <b>ResponseModel</b>: <a href="https://ift.tt/3eeqlXm" target="_blank" rel="noopener">fastapi.tiangolo.com</a><br/> <b>Weather Talk Python API docs</b>: <a href="https://ift.tt/3FXkhya" target="_blank" rel="noopener">weather.talkpython.fm</a><br/> <b>JetBrains fleet</b>: <a href="https://ift.tt/3nZdcHK" target="_blank" rel="noopener">jetbrains.com</a><br/> <b>yarl</b>: <a href="https://ift.tt/3qT8M6P" target="_blank" rel="noopener">github.com</a><br/> <b>Joke</b>: <a href="https://twitter.com/stoltzmaniac/status/1465310923980095488" target="_blank" rel="noopener">twitter.com/stoltzmaniac</a><br/> <b>Loading Document Objects to Beanie Dynamically</b>: <a href="https://ift.tt/33ZrnFh" target="_blank" rel="noopener">dev.pythonbynight.com</a><br/> <br/> <b>Michael's YouTube videos</b><br/> <b>Parsing data with Pydantic</b>: <a href="https://www.youtube.com/watch?v=aHv7-6WIxNM" target="_blank" rel="noopener">youtube.com</a><br/> <b>Counting the number of times items appear</b>: <a href="https://www.youtube.com/watch?v=0IHAm8cwlbQ" target="_blank" rel="noopener">youtube.com</a><br/> <b>Do you even need loops in Python?</b>: <a href="https://www.youtube.com/watch?v=uVQVn8z8kxo" target="_blank" rel="noopener">youtube.com</a><br/> <b>Stream Deck + PyCharm - Enhancing Python Developer Productivity</b>: <a href="https://www.youtube.com/watch?v=yaPer4f1QgM" target="_blank" rel="noopener">youtube.com</a><br/> <b>Watch this episode on YouTube</b>: <a href="https://www.youtube.com/watch?v=kWd7ErXMlqQ" target="_blank" rel="noopener">youtube.com</a><br/> <b>Episode transcripts</b>: <a href="https://ift.tt/3GUaIBv" target="_blank" rel="noopener">talkpython.fm</a><br/> <br/> <b>--- Stay in touch with us ---</b><br/> <b>Subscribe on YouTube</b>: <a href="https://ift.tt/3DznvIg" target="_blank" rel="noopener">youtube.com</a><br/> <b>Follow Talk Python on Twitter</b>: <a href="https://twitter.com/talkpython" target="_blank" rel="noopener">@talkpython</a><br/> <b>Follow Michael on Twitter</b>: <a href="https://twitter.com/mkennedy" target="_blank" rel="noopener">@mkennedy</a><br/></div><br/> <strong>Sponsors</strong><br/> <a href='https://ift.tt/2AndcLj Error Monitoring, Code TALKPYTHON</a><br> <a href='https://ift.tt/2PVc9qH Python Training</a><br> <a href='https://ift.tt/3x0z72P>

from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...