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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file truecolor-1.0b2.tar.gz.
File metadata
- Download URL: truecolor-1.0b2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a591652790e672c8435850665ec18e7d1a06c74aa0658286701c920006091efd
|
|
| MD5 |
5771b528a132ae4429e6c7991b61bad2
|
|
| BLAKE2b-256 |
b5817499faa629011d8bb605150a09a5e7381fd9643b8e37010f25945fa690e5
|
File details
Details for the file truecolor-1.0b2-py2.py3-none-any.whl.
File metadata
- Download URL: truecolor-1.0b2-py2.py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb2b68eb4b8a532d19170c957ad68c2324b72e4771b2efc43566642eac60ff3f
|
|
| MD5 |
cae113aa27688627dd9bb5e254f135ad
|
|
| BLAKE2b-256 |
f683eba08c9bae85263bcece861c4625a5fb200c3eb3de6ee43c1e495911804c
|