{"repo":"Textualize/rich","free":true,"listed":false,"github":"https://github.com/Textualize/rich","clone":"git clone https://github.com/Textualize/rich.git","description":"Rich is a Python library for rich text and beautiful formatting in the terminal.","language":"Python","stars":57080,"topics":["python","python3","python-library","terminal","terminal-color","markdown","tables","syntax-highlighting","ansi-colors","progress-bar-python"],"license":"MIT","category":"cli-tools","readme_excerpt":"English readme • 简体中文 readme • 正體中文 readme • Lengua española readme • Deutsche readme • Läs på svenska • 日本語 readme • 한국어 readme • Français readme • Schwizerdütsch readme • हिन्दी readme • Português brasileiro readme • Italian readme • Русский readme • Indonesian readme • فارسی readme • Türkçe readme • Polskie readme Rich is a Python library for rich text and beautiful formatting in the terminal. The Rich API makes it easy to add color and style to terminal output. Rich can also render pretty tables, progress bars, markdown, syntax highlighted source code, tracebacks, and more — out of the box. For a video introduction to Rich see calmcode.io by @fishnets88. See what people are saying about Rich. Compatibility Rich works with Linux, macOS and Windows. True color / emoji works with new Windows Terminal, classic terminal is limited to 16 colors. Rich requires Python 3.8 or later. Rich works with Jupyter notebooks with no additional configuration required. Installing Install with pip or your favorite PyPI package manager. Run the following to test Rich output on your terminal: Rich Print To effortlessly add rich output to your application, you can import the rich print method, which has the same signature as the builtin Python function. Try this: Rich REPL Rich can be installed in the Python REPL, so that any data structures will be pretty printed and highlighted. Using the Console For more control over rich terminal content, import and construct a Console object. The Console ob","default_branch":null,"files":null,"tree":[],"storefront":"/r/Textualize","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Textualize/rich/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}