Discover performance optimization techniques for Pydantic, the leading data validation library for Python, in this 21-minute PyCon US talk. Learn about the significant speed improvements in Pydantic V2 and explore a range of optimization strategies, from simple one-line fixes to more complex design modifications. Gain insights into efficient JSON loading syntax, TypeAdapter usage tips, and the power of tagged unions for validating union types. Walk away with practical examples to apply to your own code, a deeper understanding of Pydantic's performance capabilities, and a preview of upcoming performance-enhancing features. Elevate your Python applications to lightning-fast speeds with these expert Pydantic tips and tricks.
Overview
Syllabus
Talks - Sydney Runkle: Pydantic Power-up: Performance Tips for Lightning-Fast Python Applications
Taught by
PyCon US