Pydantic
Python data validationOpen source· verified Sep 2026
Validates and parses data using Python type hints. FastAPI uses it for request and response models; version 2's core is written in Rust for speed.
Official siteReach for it when
- Validating API input and config
- Typed data models in Python