Skip to main content

A simple way to add colours to terminal output in Python.

Project description

hl.colours - colors for terminal output
=======================================

**hl.colours** add colours to terminal put easily.


Installation
------------

**Automatic installation**::

pip install hl.colours

HtmlNode is listed in `PyPI <http://pypi.python.org/pypi/hl.colours`_ and
can be installed with ``pip`` or ``easy_install``.

**Manual installation**: Download the latest source from `PyPI
<http://pypi.python.org/pypi/hl.colours`_.

.. parsed-literal::

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
<https://github.com/hllau/hl.colours`_.



Usage Example
-------------

Usage::

import hl.colours as k

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hl.colours-0.1.0.tar.gz (1.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page