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 PlaygroundTags
packagecliterminalformattingcolorprogress-bar
Related Items
click
Package — CLI
Composable CLI toolkit with decorators for options and arguments
textual
Package — CLI
TUI framework: terminal apps with widgets
colorama
Package — CLI
Cross-platform colored terminal text output
tqdm
Package — Utility
Progress bars for loops and iterables
tabulate
Package — CLI
Pretty-print tabular data as ASCII, HTML, or Markdown tables
logging
Stdlib — Misc
Flexible logging: loggers, handlers, formatters, levels