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

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.100.1 Safe, concurrent, practical language

GitHub Packages downloads:

Last 30 days333,643
Downloads1,922,367
Analytics install events (30 days)28,330
Downloads / install events (30 days)11.8×

Source: GitHub Packages, fetched 2026-12-04T01:02:54Z. Analytics dates: 2026-11-04 to 2026-12-04. 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
Installs28,32663,388192,021
Installs (--HEAD)4817
Installs on Request9232,0506,299
Installs on Request (--HEAD)2412
Build Errors15