This release is a pre-release and may not be stable for production use.
colorprint3
A simple library to print with color and style on Python 3
Installation
Use the package manager pip to install colorprint3.
pip install colorprint3
Usage
Same as build-in print() function but have a few extra arguments : fg_color, bg_color and style.
colorprint3.print(*word,sep=None,end=None,file=None,flush=None,fg_color=None,bg_color=None,style=[])
fg_color values : black, red, green, yellow, blue, magenta, cyan, white, s_black, s_red, s_green, s_yellow, s_blue, s_magenta, s_cyan, s_white & Custom colors.
bg_color values : black, red, green, yellow, blue, magenta, cyan, white, s_black, s_red, s_green, s_yellow, s_blue, s_magenta, s_cyan, s_white & Custom colors.
fg_color and bg_color also accept direct integer input from 0 to 7.
style values : bold, underline, italic, faint. Accepting multiple style by putting them inside a list.
Custom color format : [r,g,b]
Contributing
Please open an issue to report a bug or give suggestion.
License
Metadata
Release files for colorprint3 1.3a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| colorprint3-1.3a1.tar.gz | 39.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| colorprint3-1.3a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 66.9 kB
Release files / colorprint3-1.3a1.tar.gz
| Download URL | colorprint3-1.3a1.tar.gz |
|---|---|
| Size | 39.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa6a0a1f3f8b1a67381eea3907a5f00aee4946e807ca52ff493d4da64196ce89
|
|
BLAKE2b-256 checksum How to use checksums |
b0547fb5423f357328220a95ae7b90ccadb47544eff9f2b97430bc1f74cfae80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / colorprint3-1.3a1-py3-none-any.whl
| Download URL | colorprint3-1.3a1-py3-none-any.whl |
|---|---|
| Size | 27.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b217304bb0e5c26a73347240895eea6237ba74e241025f4c0a74874bf74f2a2d
|
|
BLAKE2b-256 checksum How to use checksums |
09d1828585d382bf5a7d2c84153a14bb8f0e5e0daa50da3f2dee8356e3d4c313
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|