Rich is a Python library for rendering rich text and beautiful formatting to the terminal.
The Rich API makes it easy to add colorful text (up to 16.7 million colors) with styles (bold, italic, underline etc.) to your script or application. Rich can also render pretty tables, progress bars, markdown, syntax highlighted source code, and tracebacks -- out of the box.
UTF-8 enabled. Does word wrapping and justification. Markdown rendering. Exports a print() function virtually identical in usage to Python's regular one. Console objects can be instantiated to give more control over what is displayed.
Straight Python port of the Ruby version at https://github.com/busyloop/lolcat/ but with 100% more fun, because, hey, it’s not Ruby. There are no external dependancies.