Skip to main content

Interactive prompts with Rich

Project description

richer-prompt

CI - Test, Build and Release PyPI - Version PyPI - License

richer-prompt provides interactive terminal prompts built on top of Rich.

Visit the documentation: richer-prompt.readthedocs.io

richer-prompt demo

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

richer_prompt-0.2.0.tar.gz (129.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

richer_prompt-0.2.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file richer_prompt-0.2.0.tar.gz.

File metadata

  • Download URL: richer_prompt-0.2.0.tar.gz
  • Upload date:
  • Size: 129.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for richer_prompt-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5e7d0b8de251007e91ee00c04f91fad99d1ed3a4c1c2fe0387a213107a584685
MD5 bca3bb427a04a2d77617c6bfde025157
BLAKE2b-256 8e44daa39f535b15bed06ea6b9e51b633abfa3b2ab831e6544a5ed8cd340a3a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for richer_prompt-0.2.0.tar.gz:

Publisher: test-build-release.yaml on gabriel-msilva/richer-prompt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file richer_prompt-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: richer_prompt-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for richer_prompt-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e9aa89651c2e3f52a812bc6327674ff47dad8049cd9c05b12184246a88746682
MD5 033975530671ac3e35c627f485573a13
BLAKE2b-256 2a5f4605ec97b5f852cf1c63b60c0b87f86f17b0e565c15d4818af2127d9edd0

See more details on using hashes here.

Provenance

The following attestation bundles were made for richer_prompt-0.2.0-py3-none-any.whl:

Publisher: test-build-release.yaml on gabriel-msilva/richer-prompt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page