richer-prompt
Beautiful, Rich-native interactive prompts for Python.
richer-prompt provides interactive terminal prompts built on top of Rich.
Visit the documentation: richer-prompt.readthedocs.io
richer-prompt is designed for applications that already use rich and want interactive
prompts that integrate naturally with the rest of their terminal output.
Instead of introducing a separate rendering system or requiring a full TUI framework,
it extends the rich experience with beautiful, composable prompts.
- Focused: provides high-quality interactive prompts without requiring a full TUI framework.
- Rich-native: designed to blend seamlessly with
rich's rendering, colors, and layout. - Beautiful by default: polished prompts inspired by Claude Code without manual styling.
- Fully typed: modern type hints for better editor support and safer code.
Installation
You can install richer-prompt from PyPI with pip or your favorite package manager:
pip install richer-prompt
uv add richer-prompt
Demo
To check if richer-prompt was installed correctly, and to see a quick demo of its capabilities,
run the following from the command line:
python -m richer_prompt
Quickstart
Every prompt shares the same API as
rich.prompt.Prompt:
call an instance for a reusable prompt, or use the .ask() class method for a one-off prompt.
Use Choice objects to add labels and descriptions to the options:
from richer_prompt import Choice, Select, Tabs
# One-off prompt
Select.ask("Select a color:", choices=["Red", "Green", "Blue"])
# Reusable prompt instance
confirm_action = Tabs(
"Do you want to continue?",
choices=[
Choice(value=False, label="No"),
Choice(value=True, label="Yes", description="This action cannot be undone"),
]
)
confirm_action()
richer-prompt provides four prompt types: Select, MultiSelect, Tabs, and Form.
Development
The development environment requires uv installed. Makefile has useful commands for development:
$ make help
Usage: make <COMMAND>
Commands:
setup Install dependencies and pre-commit hooks
tests Run tests with pytest
pre-commit Run pre-commit checks on all files
help Show this help message
Documentation
The documentation files are located in docs/ directory and written with Sphinx.
$ make -C docs help
Usage: make <COMMAND>
Commands:
demo Generate demo GIF
build Build Sphinx docs
serve Serve Sphinx docs locally with live reload
clean Remove build artifacts
help Show this help message
Notes:
- Generated HTML output is written to
docs/_build/html(ignore by Git). - The demo GIF records the current terminal and this is not exactly reproduced.
Metadata
Release files for richer-prompt 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| richer_prompt-0.3.0.tar.gz | 136.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| richer_prompt-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 160.5 kB
Release files / richer_prompt-0.3.0.tar.gz
| Download URL | richer_prompt-0.3.0.tar.gz |
|---|---|
| Size | 136.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d6e68f01a39f6d8b5af4624eedd3ac20785109b63f02134deb25f4c5f6c3e45
|
|
BLAKE2b-256 checksum How to use checksums |
42e4d07ece6fb013148b3eb60b8d67565202b32fce0edd25fbb6a77de1507aa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
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 Jul 22, 2026.
Transparency logRelease files / richer_prompt-0.3.0-py3-none-any.whl
| Download URL | richer_prompt-0.3.0-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90b28f016714b787cef34f9fa9380314308a1a610f49cae20f926fa344636ed5
|
|
BLAKE2b-256 checksum How to use checksums |
ff56e84780f285b7eb0eabb602870f6f9df9062f4227ce7d21e286cbda8f456b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
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 Jul 22, 2026.
Transparency log