Contents

rich 12.5.1

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: 39080, Watchers: 39080, Forks: 1319, Open Issues: 90

The Textualize/rich repo was created 2 years ago and was last updated 14 minutes ago.
The project is extremely popular with a mindblowing 39080 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/willmcgugan/rich
PyPi
https://pypi.org/project/rich/
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 90 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.79.0

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