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 ↑41% vs prev 7d
total hits 44
actors 9 distinct systems
last hit 1d ago ByteDance
top countries 🇺🇸 United States · 🇩🇪 Germany · VN · 🇨🇦 Canada · 🇫🇷 France
Resources
API endpoints
full doc /v1/registry/pydantic-argparse
compatibility /v1/registry/pydantic-argparse/compatibility