pydantic

Install command:
brew install pydantic

Formerly known as: pydantic-core

Data validation using Python type hints

https://github.com/pydantic/pydantic

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.13.3 Build and publish Rust crates as Python packages
python@3.13 3.13.13 Interpreted, interactive, object-oriented programming language
python@3.14 3.14.5 Interpreted, interactive, object-oriented programming language
rust 1.95.0 Safe, concurrent, practical language

Analytics:

Installs (30 days)
pydantic 34,599
pydantic --HEAD 4
Installs on Request (30 days)
pydantic 1,966
pydantic --HEAD 4
Build Errors (30 days)
pydantic 4
Installs (90 days)
pydantic 55,441
pydantic --HEAD 5
Installs on Request (90 days)
pydantic 2,529
pydantic --HEAD 5
Installs (365 days)
pydantic 93,650
pydantic --HEAD 7
Installs on Request (365 days)
pydantic 3,725
pydantic --HEAD 7