wizdantic

Conjure populated Pydantic models from thin air with an interactive terminal wizard.
Overview
wizdantic walks your users through every field of a Pydantic model, one prompt at a time. It validates each value on the spot, insists on required fields, pre-fills defaults, and hands back a fully constructed model instance when the spell is complete.
Under the hood it uses Rich for all terminal I/O: styled prompts, masked secret input, colorful section headings, and a summary table at the end.
Why?
CLI tools that need structured configuration often end up with a maze of
input() calls, hand-rolled validation, and forgotten edge cases. If you
already have a Pydantic model describing that configuration, wizdantic turns
it into an interactive wizard with a single function call. You define the shape
of the data once, and the wizard handles the rest.
Quick taste
The wizard prompts for each field, validates the input, and returns a Spellbook
instance. See the Quickstart for installation and a complete
walkthrough.
See it in action
The fastest way to get a feel for wizdantic is to run the demo:
$ uvx --from=wizdantic[demo] wizdantic-demo
No install required. See the Demo page for a full overview of what it covers.