Colored text in the console
Project description
Easy Colors
This package allows you to print colored text in the console using ANSI escape codes.
Installation
Install on Linux/MacOS:
python3 -m pip install easy_colors
Install on Windows:
python -m pip install easy_colors
Usage
from easy_colors import Colors
print(f'{Colors.INFO}This is an example{Colors.END}')
print(f'{Colors.DANGER}This is another example{Colors.END}')
Note: Make sure to end all colored strings with Colors.END
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
easy_colors-0.0.1.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for easy_colors-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52d5129680d48d27211f8327ca8f39866b4596ee5caad4ab0708882565f1950c |
|
MD5 | 361ffa4f8c710d7cea87c63ce3db5895 |
|
BLAKE2b-256 | 25923d2384518d222d3937a5d3b5d9a660768d3b57a1c5c424ad4b89c4f0ca70 |