Skip to content

richforms

Turn Pydantic data models into interactive terminal forms.


  • 🚀 Get Started


    Install richforms, define a model, and run your first form.

  • ðŸ’ŧ Use the CLI


    Use richforms to collect and update forms from the terminal.

  • 🐍 Embed in Python


    Call fill, edit, and collect_dict directly in your tools.

  • ðŸŠĪ Integrate with frameworks


    Plug into existing Click and Typer command options.

What richforms gives you

You get consistent input flows across all workflows with minimal custom code.

  • Schema-first forms: Use your existing Pydantic models as the source of truth.
  • Repair loops: Re-prompt only fields that fail model validation.
  • Typed prompting: Show required state, defaults, type hints, and choices.
  • Flexible output: Keep values in memory or write JSON and YAML files.