Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Simple module to colorize text on terminal

Project description

PythonColorize
==============

Simple module to colorize text on terminal

Install ::

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])`

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 PythonColorize, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size PythonColorize-0.2.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page