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 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


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.1.0.tar.gz (123.8 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.1.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: richer_prompt-0.1.0.tar.gz
  • Upload date:
  • Size: 123.8 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.1.0.tar.gz
Algorithm Hash digest
SHA256 91ed2ba723785623c26e2c1040443d812ae640463bcf0ad86f389ae33e1bbf4d
MD5 6cbb75c126bb6cc3d9a91e90e255078f
BLAKE2b-256 7a9b844599d6353de4b96db2d222cb48c0ffabab5f5ff4ed968539bb8a03d3bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for richer_prompt-0.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: richer_prompt-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e7079f74f7f6d81ddb333a34fbab5e108d4d3cf4f2b9b58f99e8f51d534ad89
MD5 df528e5487d9cb9527141b79458d60a4
BLAKE2b-256 53b6950597858d78c112d799343419488711b73735d901393e46958540a43c09

See more details on using hashes here.

Provenance

The following attestation bundles were made for richer_prompt-0.1.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