Skip to main content

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.')

Metadata

Release files for hl.colours 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hl.colours 0.1.4
File Size Uploaded
hl.colours-0.1.4.tar.gz 1.8 kB Details

Release files / hl.colours-0.1.4.tar.gz

Download URL hl.colours-0.1.4.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c3434d8ecb30f64228b7a61dbb4613f5c0e50b2c9c008c525f20fba6fca11eed
BLAKE2b-256 checksum
How to use checksums
7f1487ad867b711a4c5bd0bd16febde6e9dc095c864a9a6c35ff31a44b5724ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page