Credit: https://github.com/Textualize/rich
When writing terminal apps, it would sometimes be useful W to emphasise information, to make the user aware of certain important or dangerous operations. The Rich library provides console rendering for many things, such as the printing of emojis, coloured text, rendering of tabular information and markdown, collection of information from the user – including allowing from a selection of choices as well as progress bars and spinners, which is helpful in denoting long-running information. Another useful feature of the library is the ability to export the console output to a file – when exporting as HTML, formatting is included. The library can be used on Windows, Mac and Linux, and