Typed Argument Parsing with Pydantic
JSON →pydantic-argparse is a Python package that provides declarative typed argument parsing by leveraging Pydantic models. It builds on the standard `argparse` module, offering a simple, opinionated, and type-hinted API for command-line interfaces. The library supports nesting Pydantic models for sub-command functionality and utilizes Pydantic's robust validation system. The current version is 0.10.0, released in February 2025, indicating an active development and release cadence.
Traffic · last 30 days stale · no recent hits
total hits 22
actors 8 distinct systems
last hit 16d ago Bingbot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇨🇳 China · 🇸🇬 Singapore · 🇮🇹 Italy
Resources
API endpoints
full doc /v1/registry/pydantic-argparse
compatibility /v1/registry/pydantic-argparse/compatibility