Pydantic
Data validation in Python using type hints.
LibraryOpen source
Library that validates and converts data in Python from type annotations, the basis of FastAPI and many AI tools.
When to use
To validate and serialize data in Python with typed models.
When to avoid
In trivial scripts, where plain dictionaries are enough.
Alternatives
They do a similar job. Compare before choosing.
Data validation with schemas and inferred TypeScript types.
LibraryOpen source★ 44.2KFast, typed Python APIs with automatic docs.
FrameworkOpen source★ 104.3K
Related
From the same area, with a close purpose.
Full-featured Python framework with ORM and admin.
FrameworkOpen source★ 91.5KVersatile language, a leader in data, AI and automation.
LanguageOpen source★ 77.7KSimple, flexible Python microframework.
FrameworkOpen source★ 74.9K