pydantic

Install command:
brew install pydantic

Formerly known as: pydantic-core

Data validation using Python type hints

https://github.com/pydantic/pydantic

License: MIT

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.12.5

Depends on when building from source:

maturin 1.10.2 Build and publish Rust crates as Python packages
python@3.13 3.13.11 Interpreted, interactive, object-oriented programming language
python@3.14 3.14.2 Interpreted, interactive, object-oriented programming language
rust 1.92.0 Safe, concurrent, practical language

Analytics:

Installs (30 days)
pydantic 13,972
pydantic --HEAD 1
Installs on Request (30 days)
pydantic 696
pydantic --HEAD 1
Build Errors (30 days)
pydantic 9
Installs (90 days)
pydantic 18,658
pydantic --HEAD 2
Installs on Request (90 days)
pydantic 891
pydantic --HEAD 2
Installs (365 days)
pydantic 18,657
pydantic --HEAD 2
Installs on Request (365 days)
pydantic 891
pydantic --HEAD 2