Skip to content

hllau/hl.colours

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hl.colours - colors for terminal output

hl.colours add colours to terminal output.

Installation

Automatic installation:

pip install hl.colours

hl.colours is listed in PyPI and can be installed with pip or easy_install.

Manual installation: Download the latest source from PyPI.

tar xvzf hl.colours-$VERSION.tar.gz cd hl.colours-$VERSION sudo python setup.py install

The hl.colours source code is hosted on GitHub.

Usage Example

Usage:

import hl.colours as k

for color in ['red', 'yellow', 'bblue', 'byellow']:
    print getattr(k, color)(color)

print k.yellow('This is yellow.')
print k.bred('This is stronger red.')

About

A simple way to add colours to terminal output in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages