pypi rich 5.1.0
Rich REPL

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

This release adds a home grown pretty print formatter, and removes the pprintpp dependancy. The new formatter is better integrated with Rich and will be a more flexible solution, but its not as battle tested as pprintpp. Please report any bugs!

Also in 5.1.0 is a 'display hook' which allows for integration of Rich in to the REPL, so all your data will be pretty. It's kind of fun to use.

The following will install the display hook.

>>> from rich import pretty
>>> pretty.install()

repl

[5.1.0] - 2020-08-08

Added

  • Added Text.cell_len
  • Added helpful message regarding unicode decoding errors #212
  • Added display hook with pretty.install()

Fixed

  • Fixed deprecation warnings re backslash #210
  • Fixed repr highlighting of scientific notation, e.g. 1e100

Changed

  • Implemented pretty printing, and removed pprintpp from dependencies
  • Optimized Text.join

Don't miss a new rich release

NewReleases is sending notifications on new releases.