PythonColorize

Simple module to colorize text on terminal


Keywords
shell, terminal, python3, python2, color, colorize, pip, python
License
GPL-3.0
Install
pip install PythonColorize==0.2

Documentation

PythonColorize Build Status GPLv3 Pypi

Simple module to colorize text on terminal :D

Requires

Written for Python3.x

But work with python2.7

Setup

Open terminal:

git clone https://github.com/TiagoDanin/PythonColorize.git

sudo python3 setup.py install

or via pip:

sudo pip3 install PythonColorize

DOC

Colors Styles
black bold
red dark
green underline
yellow negative
blue hide
magenta
cyan
white
Params Result
bg_ background
lg_ light
bg_lg_ background & Light

Module function:

  • Get color PythonColorize.colors.<[param][style]_>[name]

<.> Optional

  • Colorize PythonColorize.colorize(text=[text], color=[color], style=[style], light=[True|False], background=[True|False])

Pages

Module File

Example File

Suggestions and Support New Issue

For stable versions to access Releases

LICENSE

GNU General Public License v3 (GPLv3)


Copyright (c) 2016 Tiago Danin