Rich
lastmod 2024-04-24created 2022-08-052 edits
Rich is a Python library for rich text and beautiful formatting in the terminal.
Python library for flashy formatting in the terminal
Features
- Applies rich colors and styles (bold, italic, underline, etc.) when building CLIs
- Supports tables, progress bars, Markdown, code syntax highlighting, and traceback output
- Beautiful output just by using the rich print() method instead of the default print
- Applies styles on the console object with a bbcode-like format
- console.log automatically prints the current time and the calling file, and syntax-highlights Python structures and repr strings. Supports printing local variables
- emoji supported in the :smiley form
- Supports flicker-free Progress Bar
- Syntax Highlighting with the pygments library