Pydantic can do what?
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
Pydantic has evolved far beyond a simple validation library. The pydantic-settings package now provides a full-featured configuration system that loads and cascades values from dotenv files, environment variables, CLI arguments, JSON/TOML/YAML files, and cloud secret managers (AWS, GCP, Azure, HashiCorp Vault). With a single class definition, you get type coercion, validation, secret masking, and priority-ordered source merging — effectively replacing tools like environs, dotenv, click, typer, argparse, and tomllib. The CLI feature supports sub-commands, aliases, positional args, mutually exclusive groups, and more.
Table of contents
SummaryPydantic is a chonky boï nowWhat do you mean, it does settings?But it cannot parse sys.argv, can it?It’s a secretSort: