Interactive prompts with Rich
Project description
richer-prompt
richer-prompt provides interactive terminal prompts built on top of Rich.
Visit the documentation: richer-prompt.readthedocs.io
Installation
You can install richer-prompt from PyPI with pip or your favorite package manager:
pip install richer-prompt
uv install 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
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
_build/html. - The demo GIF records the current terminal and this is not exactly reproduced.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file richer_prompt-0.1.0rc0.tar.gz.
File metadata
- Download URL: richer_prompt-0.1.0rc0.tar.gz
- Upload date:
- Size: 123.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4cdb8f9e1a5ddfe2761a1aec48a92ad49caf61e0d2836eb5594419ac4e94c85
|
|
| MD5 |
a2e65353915381ebac5870e4d15fffed
|
|
| BLAKE2b-256 |
94deba08f04a77ab0743524718484a8881a8791a69dd031edcfb5c871f2ccf0f
|
Provenance
The following attestation bundles were made for richer_prompt-0.1.0rc0.tar.gz:
Publisher:
test-build-release.yaml on gabriel-msilva/richer-prompt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
richer_prompt-0.1.0rc0.tar.gz -
Subject digest:
c4cdb8f9e1a5ddfe2761a1aec48a92ad49caf61e0d2836eb5594419ac4e94c85 - Sigstore transparency entry: 1805095478
- Sigstore integration time:
-
Permalink:
gabriel-msilva/richer-prompt@263b5ab6149e1e73efaf9c0727d1bcf1c2e2f632 -
Branch / Tag:
refs/tags/0.1.0rc0 - Owner: https://github.com/gabriel-msilva
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test-build-release.yaml@263b5ab6149e1e73efaf9c0727d1bcf1c2e2f632 -
Trigger Event:
push
-
Statement type:
File details
Details for the file richer_prompt-0.1.0rc0-py3-none-any.whl.
File metadata
- Download URL: richer_prompt-0.1.0rc0-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
927892585de07883d7f71fa7656aee0e936a3619f1f88b71b1bd48f8c8fc91c0
|
|
| MD5 |
f42be353ef92afa6b6ffd41315c21950
|
|
| BLAKE2b-256 |
6e2fa93b31c525e182a765bbaacac32742207d8e19472618dd4bea6aa494342a
|
Provenance
The following attestation bundles were made for richer_prompt-0.1.0rc0-py3-none-any.whl:
Publisher:
test-build-release.yaml on gabriel-msilva/richer-prompt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
richer_prompt-0.1.0rc0-py3-none-any.whl -
Subject digest:
927892585de07883d7f71fa7656aee0e936a3619f1f88b71b1bd48f8c8fc91c0 - Sigstore transparency entry: 1805095516
- Sigstore integration time:
-
Permalink:
gabriel-msilva/richer-prompt@263b5ab6149e1e73efaf9c0727d1bcf1c2e2f632 -
Branch / Tag:
refs/tags/0.1.0rc0 - Owner: https://github.com/gabriel-msilva
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test-build-release.yaml@263b5ab6149e1e73efaf9c0727d1bcf1c2e2f632 -
Trigger Event:
push
-
Statement type: