🍺 BREW Explorer

← all formulae

pydantic

brew install pydantic v2.13.4 MIT

Python library for data validation and serialization using type hints and runtime checking.

Why you might care

Pydantic is the de-facto standard for schema validation in Python, widely used in FastAPI, Django, and data pipelines. It combines static type hints with runtime validation, catching errors early and providing helpful error messages. Essential for building robust APIs and data-driven applications.

Categories

Alternatives

marshmallow dataclasses attrs cerberus
13.1k
30-day installs · #311
61.6k
90-day · #239
112.8k
365-day · #384

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "marshmallow",
    "dataclasses",
    "attrs",
    "cerberus"
  ],
  "build_dependencies": [
    "maturin",
    "python@3.13",
    "python@3.14",
    "rust"
  ],
  "categories": [
    "library",
    "binding"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Data validation using Python type hints",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:48+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "pydantic",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://pydantic.dev/docs/validation",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "Redirecting to: /docs/validation/latest/get-started",
  "installs_30d": 13138,
  "installs_365d": 112830,
  "installs_90d": 61637,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": "2026-06-20T23:44:05+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "pydantic",
  "oldnames": [
    "pydantic-core"
  ],
  "one_liner": "Python library for data validation and serialization using type hints and runtime checking.",
  "optional_dependencies": [],
  "rank_30d": 311,
  "rank_365d": 384,
  "rank_90d": 239,
  "raw_hash": "1e2de0f4d220502f",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/p/pydantic.rb",
  "tap": "homebrew/core",
  "test_dependencies": [
    "python@3.13",
    "python@3.14"
  ],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "2.13.4",
  "versioned_formulae": [],
  "why_use_this": "Pydantic is the de-facto standard for schema validation in Python, widely used in FastAPI, Django, and data pipelines. It combines static type hints with runtime validation, catching errors early and providing helpful error messages. Essential for building robust APIs and data-driven applications."
}