color_tools
Project description
color_tools: text color
color_tools is a Python library Color formatting for output in terminal.
Installation
The code is packaged for PyPI, so that the installation consists in running:
pip install color-tools
Usage
from termcolor import colored, cprint
text = colored('Hello, World!', 'red', attrs=['reverse', 'blink'])
print(text)
cprint('Hello, World!', 'green', 'on_red')
Terminal properties
============ ======= ==== ========= ========== ======= =========
Terminal bold dark underline blink reverse concealed
------------ ------- ---- --------- ---------- ------- ---------
xterm yes no yes bold yes yes
linux yes yes bold yes yes no
rxvt yes no yes bold/black yes no
dtterm yes yes yes reverse yes yes
teraterm reverse no yes rev/red yes no
aixterm normal no yes no yes yes
PuTTY color no yes no yes no
Windows no no no no yes no
Cygwin SSH yes no color color color yes
Mac Terminal yes no yes yes yes yes
============ ======= ==== ========= ========== ======= =========
License
New features v1.0
BugFix
- choco install visualcpp-build-tools
Reference
- Jonathan Quiza github.
- Jonathan Quiza RumiMLSpark.
- Jonathan Quiza linkedin.
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
color_tools-0.0.2.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file color_tools-0.0.2.tar.gz
.
File metadata
- Download URL: color_tools-0.0.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 748119fa9255d4fdb28cedf2fd411e87d2d9bd5c1ba811c545e229f9f9376e16 |
|
MD5 | ee85303da6bbf759eb779925f7159ae4 |
|
BLAKE2b-256 | 951085b1306123d05b621bc1478016595aff54e78f193d7489c0a12017e52577 |
File details
Details for the file color_tools-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: color_tools-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee9fb3550aecfa67d521a1b4244840c1801cfc361b5917804466e69a71466e0c |
|
MD5 | 4577471593c6fd66a28a68a820033992 |
|
BLAKE2b-256 | 85e728f3f18d20f1d94508e7577d9ff1634570d8beb35c35ceeff62dba42f0e8 |