rich

Package — CLIPython 3.7+Beginner

Rich text, tables, progress bars, syntax highlighting in terminal

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
markdown-it-py, pygments, typing-extensions
Install
pip install rich

Learn by Difficulty

Quick Example

python
# Install: pip install rich
from rich import print
from rich.table import Table

table = Table(title="Users")
table.add_column("Name")
table.add_column("Age")
table.add_row("Alice", "30")
table.add_row("Bob", "25")
print(table)

rich is a third-party package. Rich text, tables, progress bars, syntax highlighting in terminal. Install with: pip install rich

Try in Playground

Tags

packagecliterminalformattingcolorprogress-bar

Related Items