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 | Provenance | Actions |
|---|---|---|---|---|
| cprint-1.2.2.tar.gz | 2.3 kB | Without provenance | Details for cprint-1.2.2.tar.gz |
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
|
Security for cprint 1.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.