Pydantic
Data validation using Python type hints observed · 2026-10-11
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 11
- age_days: 3457
- days_rel: 12
- days_push: 10
- n_releases_24m: 36
Adoption not part of the score
28972 stars · 3025 forks observed · 2026-10-11
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-05, confidence 0.99
Pydantic is a Python library that validates and parses data using type hints. It provides fast, extensible schema validation and JSON‑Schema generation.
Use cases
- validate incoming JSON payloads in a FastAPI endpoint
- parse configuration files into typed Python objects
- convert untrusted user input into safe data models
- generate JSON Schema from Python classes for API documentation
- enforce strict data contracts in data pipelines
When to choose
- you need type‑hint‑driven validation with minimal boilerplate
- performance matters and you want Rust‑backed validation
- you want automatic JSON Schema generation
- your project already uses Python 3.9+ and type hints
When to avoid
- you require validation in languages other than Python
- you need a full ORM or database driver rather than just validation
- your environment cannot install compiled extensions (pydantic‑core)
Facets
library · maturity active
serialization parser form-handling json data-science web-development python type-hints fast rust-backed pydantic-core ai-stack data-engineering
10 sources
- readme: https://github.com/pydantic/pydantic · fetched 2026-10-11 · e42c4364bdb7
- homepage: https://pydantic.dev/docs/validation · fetched 2026-09-21 · 45a18505182c
- site_page: https://pydantic.dev/docs/ai · fetched 2026-09-21 · 2553f23d662c
- site_page: https://pydantic.dev/docs/httpx2/get-started · fetched 2026-09-21 · 01b4838d1f07
- site_page: https://pydantic.dev/docs/monty/get-started · fetched 2026-09-21 · d6733c1c2f28
- site_page: https://pydantic.dev/docs/validation/latest/get-started/why · fetched 2026-09-21 · a2b06a019519
- site_page: https://pydantic.dev/docs/validation/latest/get-started/install · fetched 2026-08-29 · 107902a90128
- site_page: https://pydantic.dev/docs · fetched 2026-09-21 · 8fbf5785f930
- site_page: https://pydantic.dev/docs/logfire · fetched 2026-09-21 · 63e73c804b35
- site_page: https://pydantic.dev/docs/validation/latest/get-started/help_with_pydantic · fetched 2026-09-21 · 4168e4d83159
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pydantic/pydantic | main | 99 |
| pydantic/pydantic-core | backend | 10 |
For agents
markdown · JSON · MCP: product_card(name="pydantic/pydantic")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem