A cat(1) clone with wings
Opening the entry
Opening the entry
Rich is a Python library for rich text and beautiful formatting in the terminal
Rich is a Python library for rich text and beautiful formatting in the terminal. It provides color, style, tables, progress bars, markdown rendering, syntax highlighting, and pretty tracebacks out of the box. The library works on Linux, macOS, and Windows with Python 3.8 or later, and integrates with Jupyter notebooks. A Console object gives fine-grained control over terminal output, while a drop-in print replacement makes quick formatting effortless.
python -m pip install rich
from rich import print
print("Hello, [bold magenta]World[/bold magenta]!", ":vampire:", locals())Textualize/rich is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.