
pydantic 2.12.5
0
Data validation using Python type hints
Contents
Data validation using Python type hints
Stars: 26829, Watchers: 26829, Forks: 2440, Open Issues: 550The pydantic/pydantic repo was created 8 years ago and the last code push was 20 hours ago.
The project is extremely popular with a mindblowing 26829 github stars!
How to Install pydantic
You can install pydantic using pip
pip install pydantic
or add it to a project with poetry
poetry add pydantic
Package Details
- Author
- None
- License
- None
- Homepage
- None
- PyPi:
- https://pypi.org/project/pydantic/
- Documentation:
- https://docs.pydantic.dev
- GitHub Repo:
- https://github.com/samuelcolvin/pydantic
Classifiers
- Internet
- Software Development/Libraries/Python Modules
Related Packages
Errors
A list of common pydantic errors.
Code Examples
Here are some pydantic code examples and snippets.
GitHub Issues
The pydantic package has 550 open issues on GitHub
- Publish wheels for Android and iOS on PyPI
- Add more version directives in documentation
- Incorrect Pydantic dataclass constructor signature when using
kw_only=Truein decorator andpydantic.Field(kw_only=False) - Use
typing.Unionwhen replacing types under Python 3.14 - TypeError: unsupported operand type(s) for |: 'str' and 'type' with forward reference and python 3.14
- fix: use validator name instead of tag in tagged union error location
- Issue when calling wrap validator handler twice and using model's
__init__() - Better document
BaseModel.__pydantic_generic_metadata__ - Add fraction type
- Add riscv64 build target for manylinux
- Build riscv64 wheel builds for pydantic-core
- Extract type arguments used to specialize generic models at run-time
model_validate_strings()does not respect custom__init__()model_validate_strings()for complex types- Improve logic around
ImportStringvalidation when theImportErrororiginates from another source
pythonfix




