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
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.14.3

Depends on when building from source:

maturin 1.16.0 Build and publish Rust crates as Python packages
python@3.14 3.14.10 Interpreted, interactive, object-oriented programming language
python@3.15 3.15.2 Interpreted, interactive, object-oriented programming language
rust 1.99.1 Safe, concurrent, practical language

GitHub Packages downloads:

Last 30 days330,539
Downloads1,720,960
Analytics install events (30 days)29,073
Downloads / install events (30 days)11.4×

Source: GitHub Packages, fetched 2026-11-14T00:21:02Z. Analytics dates: 2026-10-15 to 2026-11-14. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs29,06958,480184,894
Installs (--HEAD)4616
Installs on Request9081,9256,256
Installs on Request (--HEAD)2312
Build Errors11