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
Release files for colorant 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| colorant-1.0.0.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| colorant-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / colorant-1.0.0.tar.gz
| Download URL | colorant-1.0.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bddc014a34201f501b7ebc803c529fe3959c1d827ee9edc4f319b58fbb3f7a7d
|
|
BLAKE2b-256 checksum How to use checksums |
114a56a21d643fd175e8d9c3b9332ba4e28d6dcb73d984204f39f8d8e9ada56e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / colorant-1.0.0-py3-none-any.whl
| Download URL | colorant-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b63e193fb1c89c278d4dd6daa3ee7572ba38052744e1a1f1f541cd13f2844b8a
|
|
BLAKE2b-256 checksum How to use checksums |
0751695b618d7002882470cbb0e5d9e1c28896846fbdd9b5f418f6f653dcfc56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|