Simple ANSI terminal text coloring
Project description
Simple ANSI terminal text coloring
from chalky import sty, fg
my_style = sty.bold & fg.red
print(my_style | "This is red on black")
print(my_style.reverse | "This is black on red")
from chalky import rgb, sty, hex
print(rgb(23, 255, 122) & sty.italic | "Truecolor as well")
print(sty.bold & hex("#ff02ff") | "More and more colors")
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
chalky-0.2.0.tar.gz
(16.6 kB
view hashes)
Built Distribution
chalky-0.2.0-py3-none-any.whl
(23.8 kB
view hashes)