github Textualize/rich-cli v1.7.0
New Jupyter Notebook support and SVG export

latest releases: v1.8.1, v1.8.0
3 years ago

Rich-cli 1.7.0 Adds support for Jupyter notebook, with Markdown and syntax highlighting. The following video shows Notebook rendering in conjunction with the --pager option.

Screen.Recording.2022-04-30.at.11.09.22.mov

Also in this release is a new --export-svg option which will export anything you print via Rich as an SVG.

The following command will render the first 10 entries in a CSV and export a filed called deniro.svg:

rich deniro.csv --export-svg deniro.svg --head 10

Here's what the output looks like in a browser:

Screenshot 2022-05-01 at 09 45 18

Don't miss a new rich-cli release

NewReleases is sending notifications on new releases.