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 days351,089
Downloads1,640,242
Analytics install events (30 days)32,731
Downloads / install events (30 days)10.7×

Source: GitHub Packages, fetched 2026-11-09T00:51:09Z. Analytics dates: 2026-10-10 to 2026-11-09. 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
Installs32,72654,270181,600
Installs (--HEAD)5515
Installs on Request1,2031,7736,198
Installs on Request (--HEAD)3312
Build Errors10