A Truecolor terminal library for Python
Project description
A True color terminal library for Python — similar in function to the termcolor library. It allows one to output color text in supported terminals using escape codes.
Available functions
bold - Return a bolder version of a color tuple.
dim - Return a dimmer version of a color tuple.
hex_to_rgb - Return a tuple of (red, green, blue) for a color given as #rrggbb.
rgb_to_hex - Return color as #rrggbb for the given color tuple or component values.
fore_text - Return text string with foreground only set.
color_text - Return text string with foreground and background set.
fore_print - Print text string with foreground only set.
color_print - Print text string with foreground and background set.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for truecolor-1.0b2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb2b68eb4b8a532d19170c957ad68c2324b72e4771b2efc43566642eac60ff3f |
|
MD5 | cae113aa27688627dd9bb5e254f135ad |
|
BLAKE2b-256 | f683eba08c9bae85263bcece861c4625a5fb200c3eb3de6ee43c1e495911804c |