ColoredType(name, bases, namespace, **kwargs)¶
Metaclass to define a new type that dynamically adds static methods to its classes.
Class to manage colored output.
Available methods are dynamically added based on the keys of the
ColoredType.COLORSdictionary. For each color a method with the color name is available to color any object with that specific color code.
switch to globally control the coloring. Set it to :py:const`True` to disable all coloring.
Color the given object, unless coloring is globally disabled.