pydantic/pydantic
Data validation using Python type hints
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
5 releases in the last 90 days, the latest 7 days ago, with 458 contributors on GitHub.
Use Cases & Benefits
- Validates and parses data using Python type hints to ensure data integrity and correctness.
- Offers fast, extensible validation with seamless integration into Python 3.9+ type systems and IDE tooling.
- Use for defining and validating complex data models in Python applications with automatic type coercion.
- Use for generating JSON schemas from Python models to document and enforce API contracts.
- Use for incrementally upgrading legacy Python codebases to type-safe data validation with minimal disruption.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
- Contributing guide: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
Data validation using Python type hints.
Fast and extensible, Pydantic plays nicely with your linters/IDE/brain. Define how data should be in pure, canonical Python 3.9+; validate it with Pydantic.
We've recently launched Pydantic Logfire to help you monitor your applications. Learn more
Pydantic V2 is a ground-up rewrite that offers many new features, performance improvements, and some breaking changes compared to Pydantic V1.
If you're using Pydantic V1 you may want to look at the pydantic V1.10 Documentation or,
1.10.X-fixesgit branch. Pydantic V2 also ships with the latest version of Pydantic V1 built in so that you can incrementally upgrade your code base and projects:from pydantic import v1 as pydantic_v1.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+860 stars over 78 days across 8 snapshot days; best day +37 on Nov 7.
Forks
3.2K+262
Open issues
605+22
Compared with peers in Backend
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| anthropics/skills | 194.6K | +5.8K | 15 | — |
| openai/codex-security | 13.5K | +1.9K | 60 | 2 days ago |
| tailscale/tailcat | 9.8K | +1.3K | 57 | 56 days ago |
| google/skills | 24.1K | +1.2K | 41 | — |
| DuarteSantos8/openGym | 21.4K | +1.2K | 40 | today |
| pydantic/pydantic | 29.5K | — | 60 | 7 days ago |
| Category median | 21.4K | +1.3K | 41 | — |
Also by pydantic
Other repositories from this maintainer that GStars tracks
Discover Repositories
Search across tracked repositories by name or description