cmd-colorizer

Python library for using color text in cmd


License
MIT
Install
pip install cmd-colorizer==0.0.4

Documentation

Cmd colorizer

Python library for using color text in cmd

CodeFactor Codacy Badge PyPI version

Getting started

Installation:
pip install cmd_colorizer or pip install git+git://github.com/KoChan-s/cmd_colorizer.git

Import:

from cmd_colorizer import colored

Using

print(colored("Some text", "red", "blue", ["bold", "underline"]))

1 param - text that should be colored
2 param - color of the text (grey, red, green, yellow, blue, magenta, cyan, white)
3 param - background color (grey, red, green, yellow, blue, magenta, cyan, white)
4 param - attributes the text (bold, dark, underline, blink, reverse, concealed)