Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Pydantic Power-up: Performance Tips for Lightning-Fast Python Applications

PyCon US via YouTube

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

Reviews

Start your review of Pydantic Power-up: Performance Tips for Lightning-Fast Python Applications

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.