Sets text colors and effects in console
Project description
Colorant
Intro
- Sets text colors and effects in console.
Installation
pip install colorant
Features
- Foreground and background colors
- Black
- Red
- Green
- Yellow
- Blue
- Magenta
- Cyan
- White
- Bright black
- Bright red
- Bright green
- Bright yellow
- Bright blue
- Bright magenta
- Bright cyan
- Bright white
- Decorations
- Bold
- Underline
- Reversed
- Function chaining
- e.g.
Colorant().bg_lt_green().black('OK').flush()printsOKin black on a light green background. tests/demo.pycontains more example usages.
- e.g.
Reference
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
colorant-1.0.0.tar.gz
(4.8 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 colorant-1.0.0.tar.gz.
File metadata
- Download URL: colorant-1.0.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bddc014a34201f501b7ebc803c529fe3959c1d827ee9edc4f319b58fbb3f7a7d
|
|
| MD5 |
13f3ca9eb6d00308b1877a7b383a7e63
|
|
| BLAKE2b-256 |
114a56a21d643fd175e8d9c3b9332ba4e28d6dcb73d984204f39f8d8e9ada56e
|
File details
Details for the file colorant-1.0.0-py3-none-any.whl.
File metadata
- Download URL: colorant-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b63e193fb1c89c278d4dd6daa3ee7572ba38052744e1a1f1f541cd13f2844b8a
|
|
| MD5 |
5b2c5e7996464155da736746b0210a96
|
|
| BLAKE2b-256 |
0751695b618d7002882470cbb0e5d9e1c28896846fbdd9b5f418f6f653dcfc56
|