rich
Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal
Install
rich on PyPI
pip
pip install richuv
uv add richpoetry
poetry add richPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — markdown-it-py, pygments |
| Maintenance | actively maintained — 123 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the 100 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: rich-15.0.0-py3-none-any.whl
About rich
from the package's own PyPI description — quoted content, verbatim
Supported Python Versions (image) PyPI version (image)
Downloads (image) codecov (image) Rich blog (image) Twitter Follow (image)
English readme • 简体中文 readme • 正體中文 readme • Lengua española readme • Deutsche readme • [Läs på...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Rich renders styled text, tables, progress bars, syntax-highlighted code, and markdown directly to the terminal with minimal effort, supporting color, emoji, and rich formatting across Linux, macOS, and Windows.
Low friction: pure Python wheel with only two runtime dependencies (markdown-it-py, pygments). Actively maintained with recent commits; last release 123 days ago indicates steady development.
MIT license (permissive) imposes no significant restrictions; you may use, modify, and distribute rich freely in commercial and private projects with minimal obligations.
Usage
pip install rich
from rich.console import Console
console = Console()
console.print("Hello, [bold magenta]World[/bold magenta]!")
Requires Python 3.9 or later.
Verdict: Rich is a mature, actively maintained library with zero known vulnerabilities, permissive MIT licensing, and minimal dependencies. It is production-ready for adding sophisticated terminal formatting to CLI applications and debugging workflows.
Needs verification
- Whether markdown-it-py and pygments are optional or strictly required at runtime for all use cases.
- Performance characteristics when rendering very large tables or long markdown documents.
- Community adoption and real-world usage patterns beyond GitHub stars.
Similar packages
permissive · top 1,000 on PyPI
rich-toolkitpermissive · top 1,000 on PyPI
prettytablepermissive · top 1,000 on PyPI
rich-rstpermissive · top 1,000 on PyPI
ipywidgetspermissive · top 1,000 on PyPI
texttablepermissive · top 1,000 on PyPI
emojipermissive · top 1,000 on PyPI
wcwidthpermissive · top 1,000 on PyPI
rich-clickpermissive · top 1,000 on PyPI
termcolorpermissive · top 1,000 on PyPI