Textualize/rich

Rich is a Python library for rich text and beautiful formatting in the terminal.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 46 minutes ago
Added to GitGenius on April 18th, 2026
Created on November 10th, 2019
Open Issues & Pull Requests: 373 (+0)
Number of forks: 2,303
Total Stargazers: 57,147 (+1)
Total Subscribers: 525 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 24.8 hours
Mean response time: 85.8 days
90th percentile: 261.5 days
Tracked items: 341

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 96% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 39% of tracked open issues have had no activity in three months. Only 5% of issues opened in the past year have been closed. Three people close 81% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 139
New in 7 days: 3
Closed in 7 days: 0
Avg open age: 519 days
Stale 30+ days: 119
Stale 90+ days: 103

Recent activity

Opened in 7 days: 3
Closed in 7 days: 0
Comments in 7 days: 1
Events in 7 days: 6

Top labels

  • Needs triage (315)
  • accepted (7)
  • enhancement (6)
  • Can't reproduce (2)
  • bug (2)
  • documentation (1)
  • hacktoberfest (1)
  • jupyter (1)

Detailed Description

Rich is a Python library designed to enable developers to create visually appealing and richly formatted text output in terminal environments. The library provides an extensive API that simplifies adding colors, styles, and complex visual elements to command-line applications without requiring deep knowledge of ANSI escape codes or terminal capabilities.

The core functionality of Rich centers on the Console object, which serves as the primary interface for terminal output. This object provides methods like print, log, and status that extend Python's built-in capabilities with automatic word-wrapping, color support, and style markup similar to BBCode syntax. The library handles cross-platform compatibility across Linux, macOS, and Windows, with support for true color and emoji on modern terminals while gracefully degrading to 16-color output on classic Windows terminals. Rich requires Python 3.8 or later and integrates seamlessly with Jupyter notebooks without additional configuration.

Rich includes numerous built-in renderable components for creating sophisticated terminal interfaces. The library can render flexible tables with unicode box characters and configurable formatting options for borders, styles, and cell alignment. Progress bars provide flicker-free tracking of long-running tasks with customizable columns showing metrics like percentage complete, file size, speed, and time remaining. The status method displays spinner animations for operations where progress calculation is difficult. Tree rendering enables hierarchical data visualization with guide lines, suitable for displaying file structures or organizational hierarchies. The library also supports markdown rendering, syntax-highlighted source code display, and enhanced traceback rendering for improved debugging experiences.

Additional features include the inspect function for generating detailed reports on Python objects, a logging handler that formats and colorizes output from Python's standard logging module, and emoji support through simple colon-delimited syntax. The Rich REPL integration automatically pretty-prints and highlights data structures in interactive Python sessions. The library's inspect function produces formatted reports on classes, instances, and built-in objects to aid in development and debugging.

The project's documentation is exceptionally comprehensive, with README files available in 19 languages including English, Simplified Chinese, Traditional Chinese, Spanish, German, Swedish, Japanese, Korean, French, Hindi, Portuguese, Italian, Russian, Indonesian, Persian, Turkish, and Polish. This multilingual approach reflects the library's broad international adoption and accessibility focus. The official documentation is hosted at rich.readthedocs.io and includes detailed API references, tutorials, and examples demonstrating all major features.