Skip Navigation

Scout Archives

Home Projects Publications Archives About Sign Up or Log In

Rich

Rich is a Python library that supports rich text formatting, colorized output, structured layout, multilingual text, and emojis in the output of command-line applications. It can also display a number of TUI widgets including progress bars, tree viewers (e.g., for recursive lists of folder contents), and task status spinners. Rich provides methods to display code with syntax highlighting, to render Markdown, and to provide extended formatting of errors. When used inside interactive Python sessions, it can provide pretty printing of data structures and an `inspect()` function that produces a summary of methods and members for any Python class, instance, or builtin. The "Quick Start" section of the documentation (found by clicking "Rich API") provides a whip-pan across the main features of the library. The remainder of the documentation provides a detailed API reference with usage examples. Rich runs anywhere Python does and can be installed either via an OS package management system or with Python's `pip`.
Archived Scout Publication URL
  • https://scout.wisc.edu/report/2021/1105
Scout Publication
Publisher
GEM Subject
Language
Date of Scout Publication
November 5th, 2021
Date Of Record Creation
November 1st, 2021 at 1:52pm
Date Of Record Release
November 3rd, 2021 at 8:25am
Resource URL Clicks
52
Add Comment

Comments

(no comments available yet)