skinny.

Latest / Talk Python To Me

#313: Automate your data exchange with Pydantic

See the full show notes for this episode on the website at talkpython.fm/313

Log in to save or queue this episode.

Short listen plan

No short plan yet. We need saved quotes in chapters with known start and end times, backed by a timed transcript.

The skinny

The skinny isn't ready yet — the transcript is, and you can read it now.

Data validation and conversion is one of the truly tricky parts of getting external data into your app. This might come from a REST API or a file on disk or somewhere else. It includes checking for required fields, the correct data types, converting from potentially compatible types, for example, from strings to numbers if you have quote 7 but not the value 7, and much more. Pydantic is one of the best ways to do this in modern Python… continue reading