Skip to main content

richforms

richforms turns Pydantic models into rich interactive terminal forms.

Installation

You can add richforms to your project with uv.

uv add richforms

Usage

You can start from Python in-process or from the bundled CLI.

Python API

from richforms.example.model import Metadata
from richforms import fill


metadata = fill(Metadata)
print(metadata.model_dump_json(indent=2))

CLI

richforms fill richforms.example.model:Metadata --output project-metadata.json

Integrations

You can integrate richforms directly into Click and Typer option callbacks.

import typer

from richforms.integrations.typer import form_callback
from richforms.example.model import Metadata

app = typer.Typer()


@app.command()
def release(
    metadata: Metadata = typer.Option(
        None,
        callback=form_callback(Metadata),
    ),
) -> None:
    print(metadata.model_dump())

Documentation

For more information, see the documentation.

Metadata

Release files for richforms 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for richforms 0.7.0
File Size Uploaded Provenance Actions
richforms-0.7.0.tar.gz 83.0 kB With provenance Details for richforms-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for richforms 0.7.0
File Interpreter ABI Platform Actions
richforms-0.7.0-py3-none-any.whl Python 3 none any Details for richforms-0.7.0-py3-none-any.whl

Total release size: 103.9 kB

Release files / richforms-0.7.0.tar.gz

Download URL richforms-0.7.0.tar.gz
Size 83.0 kB
Tags Source
SHA-256 checksum
How to use checksums
806a367523ca87ac5f8c1151681c73fff579e1fbedf4544da2ae67cb9f822e49
BLAKE2b-256 checksum
How to use checksums
eee0214c46b5cdba274486b48907785d717b3d4d099d963e7a9052da5e398d99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.

Transparency log

Release files / richforms-0.7.0-py3-none-any.whl

Download URL richforms-0.7.0-py3-none-any.whl
Size 20.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f43be2155cc54292e70548b7f99af1e6fd0b4ab0183f928db160cd813a9ba27
BLAKE2b-256 checksum
How to use checksums
a60dfaf261ff8ba8f92fcecb59b2f3a1e38eaac6a8a432dd0201707514d870f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.

Transparency log

Security for richforms 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for richforms-0.7.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page