python3-colorclass

ANSI color text library for Python

Description

Yet another ANSI color text library for Python. Provides "auto colors" for dark/light terminals. Works on Linux, OS X, and Windows.

In Python 2 this library subclasses unicode, while on Python 3 it subclasses str. Different colors are chosen using curly-bracket tags, such as {red}{/red}. For a list of available colors, call colorclass.list_tags(). Auto colors are toggled by calling set_light_background() and set_dark_background().

This package provides the Python 3 module.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/matthewdeanmartin/colorclass/


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-colorclass