Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

description

Project description

Build Status

Colors-print

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 Colors-print

Usage

  • ccprint

加强版

from cprint import ccprint

ccprint('Hello Word')
  • cprint
from cprint import cprint

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

Demo

Project details


Download files

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

Files for colors-print, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size colors_print-0.0.6-py3-none-any.whl (4.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size colors-print-0.0.6.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

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