Skip to main content

Printing and debugging with color

Project description

Build Status


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.


pip install cprint


from cprint import *

cprint(arg) 							# WHITE
cprint.ok(arg)							# BLUE						# 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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cprint-1.2.2.tar.gz (2.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page