Printing and debugging with color
Project description
=====
Cprint
=====
cprint is a small and simple python library which gives you the possibility to print in color.
Go there for a nice README:
https://github.com/EVasseure/cprint
Install
--------
python setup.py install
Usage
--------
from cprint import *
cprint(str) # WHITE
cprint.ok(str) # BLUE
cprint.info(str) # GREEN
cprint.warn(str) # YELLOW
cprint.err(str, interrupt=False) # BROWN
cprint.fatal(str, interrupt=False) # RED
Cprint
=====
cprint is a small and simple python library which gives you the possibility to print in color.
Go there for a nice README:
https://github.com/EVasseure/cprint
Install
--------
python setup.py install
Usage
--------
from cprint import *
cprint(str) # WHITE
cprint.ok(str) # BLUE
cprint.info(str) # GREEN
cprint.warn(str) # YELLOW
cprint.err(str, interrupt=False) # BROWN
cprint.fatal(str, interrupt=False) # RED
Project details
Release history Release notifications | RSS feed
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.tar.gz
(1.4 kB
view details)
File details
Details for the file cprint-1.tar.gz
.
File metadata
- Download URL: cprint-1.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40d13ada4d79166c8153c4be8267260cef97f485e110f7abd650755dc7fba446 |
|
MD5 | 401806c594e37473a80b29024b97af73 |
|
BLAKE2b-256 | 1e9580e4538314eff176a7797f8188ec21b3875fdd7f3317d64d99340038d283 |