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
The Rust Programming LanguageUdemy Rust for Beginners: Learn Rust in 4 Hours
Udemy Rust For Undergrads
Udemy Take your first steps with Rust
Microsoft via Microsoft Learn Rust Fundamentals
Pluralsight