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
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 details)
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 easy_colors-0.0.1.tar.gz.
File metadata
- Download URL: easy_colors-0.0.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfa5469f08435c9b411121ad4d0f152d7cb9a2f2edb4228aac92595d1debed8d
|
|
| MD5 |
642c62220bdc43318764df50e290fe31
|
|
| BLAKE2b-256 |
c8523721e7b895ea774fd1e824a21e35827ea64043fc2dacd001c00bdab01385
|
File details
Details for the file easy_colors-0.0.1-py3-none-any.whl.
File metadata
- Download URL: easy_colors-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52d5129680d48d27211f8327ca8f39866b4596ee5caad4ab0708882565f1950c
|
|
| MD5 |
361ffa4f8c710d7cea87c63ce3db5895
|
|
| BLAKE2b-256 |
25923d2384518d222d3937a5d3b5d9a660768d3b57a1c5c424ad4b89c4f0ca70
|