A Python validation library that uses type annotations to parse, serialize, and describe structured data.
When to Use It
You handle structured input in Python and want reusable validation with field-level errors and a declared output shape.
When to Look Elsewhere
A model for every internal object can duplicate checks on trusted values. For a hot path, measure parsing cost and choose the narrowest boundary that needs runtime validation.
What to Try First
Replace one boundary that trusts a dictionary with a model. Test missing fields and unexpected types, and decide where permissive coercion should give way to strict checking.
ShipFoundry for your project
Find the Pydantic Updates Worth Shipping
Add Pydantic to your project in ShipFoundry. See which releases are worth acting on, why they fit your stack, and what your coding agent should check first.