pydantic

Install command:
brew install pydantic

Formerly known as: pydantic-core

Data validation using Python type hints

https://pydantic.dev/docs/validation

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/pydantic.json

Formula code: pydantic.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 2.13.4

Depends on when building from source:

maturin 1.14.1 Build and publish Rust crates as Python packages
python@3.13 3.13.14 Interpreted, interactive, object-oriented programming language
python@3.14 3.14.6 Interpreted, interactive, object-oriented programming language
rust 1.96.0 Safe, concurrent, practical language

Analytics:

Installs (30 days)
pydantic 12,850
pydantic --HEAD 2
Installs on Request (30 days)
pydantic 255
pydantic --HEAD 2
Build Errors (30 days)
pydantic 2
Installs (90 days)
pydantic 61,564
pydantic --HEAD 6
Installs on Request (90 days)
pydantic 2,654
pydantic --HEAD 6
Installs (365 days)
pydantic 113,645
pydantic --HEAD 9
Installs on Request (365 days)
pydantic 4,231
pydantic --HEAD 9