Rich is a Python library for rich text and beautiful formatting in the terminal.
MIT License
Bot releases are hidden (Show)
Published by willmcgugan over 3 years ago
The highlight of this release is that pretty printing now supports dataclasses, which can now collapse just like other data structures. Here's an example:
Published by willmcgugan over 3 years ago
Published by willmcgugan over 3 years ago
A optimization to the Padding class. This is unlikely to impact anyone unless you are printing very large tables.
### Fixed
Mostly fixes in this update. Plus a change of behaviour for tables with no columns, and an added height parameter to Panel.
Published by willmcgugan over 3 years ago
Published by willmcgugan over 3 years ago
The highlight of this release is the new Layout system which can be used to produce htop like terminal dashboards.
__str__
https://github.com/willmcgugan/rich/issues/980
### Added
quiet
argument to Console constructorvertical
parameter to AlignPublished by willmcgugan over 3 years ago
Published by willmcgugan over 3 years ago
Published by willmcgugan almost 4 years ago
A few fixes and minor enhancements.
### Added
style
argument on Align now applies to background onlysize
will fall back to getting the terminal size of stdout it stdin fails, this allows size to be correctly determined when pipingpython -m rich.markdown
Published by willmcgugan almost 4 years ago
The highlight of this release is the new Tree renderable.
In addition there is also a no_color
flag which removes color from the output but preserves style (bold, italic etc). Previously Rich respected the NO_COLOR env var but it also remove style.
Published by willmcgugan almost 4 years ago
"\\[foo]"
results in a backslash plus [foo]
tagPublished by willmcgugan almost 4 years ago
This version adds IPython support to rich.pretty and some enhancements to rich.inspect
Published by willmcgugan almost 4 years ago
This release was a hotfix for broken terminal size detection on Windows
⚠️ Some subtle changes to behavior in this version, with regards to getting the size of the terminal and highlighting strings renderables. Please review the release notes carefully.
Color.__str__
to not include ansi codesColor.__rich__
Published by willmcgugan almost 4 years ago
This release adds a new rich.live interface which can display continually updated renderable, which you can use to create animated "dashboards".
Also in this release we have 'spinner' animations via a new Console.status method, or a SpinnerColumn in progress bars.
### Added
### Changed