PY

Pydantic

Data validation using Python type hints — parse and validate JSON payloads, configs, and env vars at runtime.

Python validation free Open Source since 2017

Pydantic v2 is rewritten in Rust for 5-50x performance improvements over v1. It turns annotated Python classes into data models that parse, coerce, and validate inputs automatically. FastAPI uses Pydantic for request/response schemas, generating OpenAPI docs from the same class definitions.

// commonly used with

Modern, async Python web framework with automatic OpenAPI docs and Pydantic-powered type …

web 2018

Batteries-included Python web framework — ORM, admin panel, auth, and routing out of the box.

web 2005

Lightweight ASGI framework and toolkit — the foundation that FastAPI and other async Python …

web 2018

// related libraries

Simple, elegant HTTP library for Python — human-friendly API for GET, POST, sessions, …

http 2011 open source

Fully featured async HTTP client for Python — Requests-compatible API with HTTP/2 and …

http 2019 open source

TypeScript-first schema declaration and validation — parse untrusted data and infer static …

validation 2020 open source

// tags

validationschemapythontype-hintsserializationfastapi
Something wrong? Edit this entry on GitHub.
✏ Edit on GitHub