Terminal string styling done right, in Python
copied from cf-staging / colorfulTerminal string styling done right, in Python. Key Features: * expressive and consistent API * support for different color modes (8 ANSI, 256 ANSI, true colors) * support for predefined awesome styles (solarized, ...) * support for custom color palettes * support nesting styles * support for different platforms (using colorama on Windows) * context managers for clean color mode, color palette or style switch * support len() on colored strings * support color names from X11 rgb.txt * no dependencies