
#313: Automate your data exchange with PyDantic
Julien Dimitri Rigon
60 min•0 plays•0 favorites
Success & Inspiration
Description
Data validation and conversion is one of the truly tricky part of getting external data into your app. This might come from a REST API, a file on disk, or somewhere else. This includes checking for required fields, correct data types, converting from compatible types (for example, strings to numbers), and much more. Pydantic is one of the best ways to do this in modern Python using dataclass-like constructs and type annotations to make it all seamless and automatic. We welcome Samuel Colvin, creator of Pydantic, to the show. We'll dive into the history of Pydantic and it's many uses and benefits. Full show notes at https://talkpython.fm/episodes/show/313/automate-your-data-exchange-with-pydantic