Print color in Python 3
Project description
colorprint3
A simple library to print color on Python 3
Build Status :
Installation
Use the package manager pip to install colorprint3.
pip install colorprint3
Usage
Same as build-in print()
function but have a few more arguments : fg_color
, bg_color
and style
.
colorprint3.print(*word,sep=None,end=None,file=None,flush=True,fg_color=None,bg_color=None)
fg_color
values : black
, red
, green
, yellow
, blue
, magenta
, cyan
, white
, s_black
, s_red
, s_green
, s_yellow
, s_blue
, s_magenta
, s_cyan
, s_white
& Custom colors.
bg_color
values : black
, red
, green
, yellow
, blue
, magenta
, cyan
, white
, s_black
, s_red
, s_green
, s_yellow
, s_blue
, s_magenta
, s_cyan
, s_white
& Custom colors.
style
values : bold
, underline
.
Custom color format : [r,g,b]
Contributing
Please open an issue to report a bug or give suggestion. Feel free to fork this project.
License
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
Built Distribution
Hashes for colorprint3-1.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f3d479668bc81a5d4b7e431779b9f9f750a21a3aec3ffc69a86ae33ab59692c |
|
MD5 | 516ddd333f63f825c73eb173d7952ccb |
|
BLAKE2b-256 | 2f1f35243c989f9c7d4a5d1525ffdfdab6763668de4882a9b489b906355ae97c |