Rich is a Python library for rich text and beautiful formatting in the terminal.
MIT License
Bot releases are visible (Hide)
Fixes some character widths
Published by willmcgugan 11 months ago
FloatPrompt
.Published by willmcgugan about 1 year ago
Mostly a meta update in readiness for the release of Python3.12
Published by willmcgugan about 1 year ago
Very minor update to URL highlighting
~
) not included in link regex when printing to console https://github.com/Textualize/rich/issues/3057
Published by willmcgugan about 1 year ago
https://textual.textualize.io/blog/2023/07/29/pull-requests-are-cake-or-puppies/
<html>
tag comes before the <head>
tag https://github.com/Textualize/rich/issues/3021
__eq__
https://github.com/Textualize/rich/issues/2875
None
to indicate that Console.tab_size should be used.Published by willmcgugan over 1 year ago
Published by willmcgugan over 1 year ago
Markdown
https://github.com/Textualize/rich/pull/2977
Published by willmcgugan over 1 year ago
is_terminal
ignoring FORCE_COLOR https://github.com/Textualize/rich/pull/2923
Published by willmcgugan over 1 year ago
Just a new method on the Style class. A helper for Textual, you probable aren't going to need it.
Published by willmcgugan over 1 year ago
Mixed bag, mostly fixes
pre
and code
tags in base HTML format https://github.com/Textualize/rich/pull/2642
Console(stderr=True)
in rich.traceback.install
to support io redirection.Text.from_ansi
parserrich.progress.track()
will now show the elapsed time after finishing the task https://github.com/Textualize/rich/pull/2659
Published by willmcgugan over 1 year ago
This release contains a fix for truecolor to eight bit color conversion, which results in more accurate colors.
Published by willmcgugan over 1 year ago
encoding
parameter in Theme.read
Published by willmcgugan almost 2 years ago
v13.2.0 replaces the unmaintained commonmark
library with markdown-it-py
. This new parser has a lot more capabilities and will allow us to implement a number of additional Markdown features in the future.
The output from the Markdown
renderable may change a little from previous versions.
Published by willmcgugan almost 2 years ago
This release fixes tracebacks in Jupyter which didn't show the code.
Additionally tracebacks have two new parameters to hide double underscore and single underscore locals. See the changelog for details
locals_hide_dunder=False
to restore previous behaviour.Published by willmcgugan almost 2 years ago
Fix for an issue where Segment.split_cells produced the wrong result.
Mostly a hotfix for the benefit of Textual.
Published by willmcgugan almost 2 years ago
Some relatively minor fixes and improvements. The most significant update (and the reason for the major version bump) is that Rich has dropped Python3.6 support.
If you are a Python3.6 user and can't upgrade for whatever reason, pin to version 12.6.0.
pre
and code
tags in base HTML format https://github.com/Textualize/rich/pull/2642
attrs
library, that isn't confused by the presence of the attr
library.locals_max_length
parameter not being respected in Traceback https://github.com/Textualize/rich/issues/2649
fileno
made more robust. Fixes https://github.com/Textualize/rich/issues/2645
fileno
on FileProxy__repr__
results is now greedy when matching tags https://github.com/Textualize/rich/pull/2565
progress.track
now supports deriving total from __length_hint__