Contents

rich 13.9.2

0

Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal

Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal

Stars: 49163, Watchers: 49163, Forks: 1715, Open Issues: 190

The Textualize/rich repo was created 4 years ago and the last code push was Yesterday.
The project is extremely popular with a mindblowing 49163 github stars!

How to Install rich

You can install rich using pip

pip install rich

or add it to a project with poetry

poetry add rich

Package Details

Author
Will McGugan
License
MIT
Homepage
https://github.com/Textualize/rich
PyPi:
https://pypi.org/project/rich/
Documentation:
https://rich.readthedocs.io/en/latest/
GitHub Repo:
https://github.com/willmcgugan/rich

Classifiers

No  rich  pypi packages just yet.

Errors

A list of common rich errors.

Code Examples

Here are some rich code examples and snippets.

  • Rich library internals

    This page is all about the rich python library, the contents below is auto-generated by inspecting a python package’s code base.

  • pretty print json using rich

    Here are a few examples of pretty printing json from a command line terminal. As you can see in the example output, rich console can output json with proper indention and color syntax highlighting.

GitHub Issues

The rich package has 190 open issues on GitHub

  • [REQUEST] Add Support for RGBA Colors
  • Add Traditional Chinese readme and corresponding texts in main.py
  • [REQUEST] Support for PEP 654 tracebacks (ExceptionGroups)
  • Add RichHandler suppress
  • Fix version tag links on the changelog
  • Bump pre-commit from 2.16.0 to 2.17.0
  • [REQUEST] An interactive selection prompt
  • [REQUEST] Add suppress to RichHandler
  • Faulty Progress Bar on Mac
  • [REQUEST] Make it possible to join Syntax elements with different stylings.
  • [bug] rich + crlf = notepad python
  • Bump mypy from 0.930 to 0.931
  • [REQUEST] Ability to suppress the length of local variables or completely filter them in Rich tracebacks.
  • [REQUEST] Allow console.status(transient=False) to keep it in the console
  • [REQUEST] option to respond to choices with digits

See more issues on GitHub

Related Packages & Articles

fastapi 0.115.0

FastAPI framework, high performance, easy to learn, fast to code, ready for production