pypi rich 9.0.0
Paging Dr Rich

latest releases: 13.7.1, 13.7.0, 13.6.0...
3 years ago

The highlights of Rich 9.0.0 would be a new pager method which will pipe any console output in to the system 'pager'. See this tweet for an example. There's also a new Bar renderable you could use to display a chart in a table. See bars.py for an example of how to use it.

Screen Shot 2020-10-16 at 16 01 03

Note this is a major version release so there are some breaking changes to the API -- these are unlikely to impact many people, but please check the changelog below.

[9.0.0] - 2020-10-18

Fixed

  • Progress download column now displays decimal units

Added

  • Support for Python 3.9
  • Added legacy_windows to ConsoleOptions
  • Added ascii_only to ConsoleOptions
  • Added box.SQUARE_DOUBLE_HEAD
  • Added highlighting of EUI-48 and EUI-64 (MAC addresses)
  • Added Console.pager
  • Added Console.out
  • Added binary_units in progress download column
  • Added Progress.reset
  • Added Style.background_style property
  • Added Bar renderable #361
  • Added Table.min_width
  • Added table.Column.min_width and table.Column.max_width, and same to Table.add_column

Changed

  • Dropped box.get_safe_box function in favor of Box.substitute
  • Changed default padding in Panel from 0 to (0, 1) #385
  • Table with row_styles will extend background color between cells if the box has no vertical dividerhttps://github.com//issues/383
  • Changed default of fit kwarg in render_group() from False to True
  • Renamed rich.bar to rich.progress_bar, and Bar class to ProgressBar, rich.bar is now the new solid bar class

Fixed

  • Fixed typo in Style.transparent_background method name.

Don't miss a new rich release

NewReleases is sending notifications on new releases.