Python library for using color text in cmd
Project description
Cmd colorizer
Python library for using color text in cmd
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)**
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cmd-colorizer-0.0.2.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for cmd_colorizer-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8903e8eeb7844f1901b08efb143ef6b679a08f7a68bf1749f96a720daeb988d7 |
|
MD5 | 4a0b3c54e0f2ef4828a8b47b9cb3c3e4 |
|
BLAKE2b-256 | 4595afb7f4a7d0364db442061a522b41aaeeef0cb1fa60372fcadd27677942d6 |