Pydantic Power-up: Performance Tips for Lightning-Fast Python Applications
Offered By: PyCon US via YouTube
Course Description
Overview
Discover performance optimization techniques for Pydantic, the leading data validation library for Python, in this 22-minute PyCon US talk. Learn about the significant speed improvements in Pydantic V2 due to its Rust-based core validation logic. Explore a range of optimizations, from simple one-line fixes to larger-scale design modifications, that can enhance your Python applications' performance. Gain insights into opinionated JSON loading syntax, TypeAdapter usage tips, and the powerful concept of tagged (discriminated) unions for efficient union type validation and error handling. 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 in the library.
Syllabus
Talks - Sydney Runkle: Pydantic Power-up: Performance Tips for Lightning-Fast Python Applications
Taught by
PyCon US
Related Courses
Validate Data Classes with PydanticPluralsight Pydantic - Making Life Easier with Data Validation
EuroPython Conference via YouTube When Models Query Models
EuroPython Conference via YouTube Simple Data Validation and Setting Management with Pydantic
EuroPython Conference via YouTube Intro to Pydantic - Run-Time Type Checking for Your Dataclasses
PyCon US via YouTube