wrapper functions over termcolor
Project description
termcolor_util
is a set of functions on top of termcolor for every
single color.
Installation
pip install termcolor_util
Functions
def yellow(text: str, bold=False, underline=False) -> str: ...
def green(text: str, bold=False, underline=False) -> str: ...
def blue(text: str, bold=False, underline=False) -> str: ...
def red(text: str, bold=False, underline=False) -> str: ...
def gray(text: str, bold=False, underline=False) -> str: ...
def cyan(text: str, bold=False, underline=False) -> str: ...
def magenta(text: str, bold=False, underline=False) -> str: ...
def white(text: str, bold=False, underline=False) -> str: ...
Beside colors, there is a function for directly printing on the stderr.
def eprint(*args) -> None: ...
Project details
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
File details
Details for the file termcolor_util-2022.11.1.tar.gz
.
File metadata
- Download URL: termcolor_util-2022.11.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.8.10 Linux/5.15.0-52-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8902ba7561272a87bb985e76c94afdbd36584ce19b460ba3197ca05dc7844445 |
|
MD5 | dd2e65ae6387268916febe99ff43db0b |
|
BLAKE2b-256 | 1fea7b66c91d9f225920235fe571feb3db09dcdf30bc167cdbee14135359909b |
File details
Details for the file termcolor_util-2022.11.1-py3-none-any.whl
.
File metadata
- Download URL: termcolor_util-2022.11.1-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.8.10 Linux/5.15.0-52-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 423b4c4316eb7af343befd3ca76f49c49e34b1ae28f50af6c371c13d99cdef67 |
|
MD5 | 4f917c4f47120a635fba82e4fcaf1b57 |
|
BLAKE2b-256 | 87e9fa33f53db46c1993d2fd25701356184255be331bca2ca74b25dad2b56949 |