I recently added experimental support for Jupyter Notebooks to Rich. Here's an example of the kind of output it can generate:
This is the Rich test card you can generate in the terminal with python -m rich
.
Part 2 of the Rich test card.
Rich is a library for fancy formatting to the terminal, where-as Jupyter supports HTML natively. So why integrate one with the other? I suspect it may be useful to render something like a table in the terminal which also displays nicely in Jupyter. continue reading…