rich
by
Textualize

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

View on GitHub ↗

Summary Information

Updated 57 minutes ago
Added to GitGenius on April 18th, 2026
Created on November 10th, 2019
Open Issues & Pull Requests: 360 (+0)
Number of forks: 2,225
Total Stargazers: 56,836 (+0)
Total Subscribers: 528 (+0)

Issue Activity (beta)

Open issues: 122
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 555 days
Stale 30+ days: 113
Stale 90+ days: 96

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 2
Events in 7 days: 4

Top labels

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

Repository Insights (GitGenius)

Median issue/PR response: N/A
Mean response time: 3.1 days
90th percentile: 0.2 hours
Tracked items: 365

Most active contributors

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.

According to GitGenius activity tracking, the repository demonstrates active maintenance with a median issue and pull request response latency of 0.0 hours and a mean latency of 75.2 hours across 365 tracked items. The primary maintainer willmcgugan has recorded 512 events, with additional significant contributions from TomJGooding (57 events) and ofek (20 events). The most active issue label is Needs triage with 302 items, followed by accepted and enhancement labels with 6 items each. The repository shows overlapping contributors with major projects including microsoft/vscode, microsoft/typescript, and rust-lang/rust, indicating its relevance across diverse development communities.

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.

rich
by
TextualizeTextualize/rich

Repository Details

Fetching additional details & charts...