tcolopy is a Python library to apply true color for terminal text.
Project description
Summary
tcolopy is a Python library to apply true color for terminal text.
Usage
Library usage
- Sample Code:
from tcolorpy import tcolor print(tcolor("tcolopy example", color="#ee1177", styles=["bold", "italic", "underline"]))
- Output:
CLI usage
You can also use tcolorpy via CLI:
$ python -m tcolorpy "tcolopy example" -c "#ee1177" -s bold,italic,underline
Output examples
Apply true color and styles to text:
You can also specify by color names:
Installation
pip install tcolorpy
Dependencies
Python 3.5+ No external dependencies.
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
tcolorpy-0.0.1.tar.gz
(291.6 kB
view hashes)