cprint
Do you find it annoying when you have to search for a certain debug, or error, line in your console? Have you ever dreamed of a simple and quick way to make your debug print truly visible? Well here is your solution!
cprint is a minimalist python library which gives you the possibility to print in color.
Install
pip install cprint
Usage
from cprint import *
cprint(arg) # WHITE
cprint.ok(arg) # BLUE
cprint.info(arg) # GREEN
cprint.warn(arg) # YELLOW
cprint.err(arg, interrupt=False) # BROWN
cprint.fatal(arg, interrupt=False) # RED
In case you have issues under Windows, try installing colorama with pip install colorama.
Metadata
Release files for cprint 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cprint-1.2.2.tar.gz | 2.3 kB | Details |
Release files / cprint-1.2.2.tar.gz
| Download URL | cprint-1.2.2.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83469274db24939b27a9b3a03d5298fec6f07408c3175dc0fc21d5ba206f51c8
|
|
BLAKE2b-256 checksum How to use checksums |
54de2961e14022de7149375301c14aae3ce64e869eb25f81a2149893c3e6fb4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.8.0 tqdm/4.56.0 CPython/3.8.6
|