Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Colored terminal text made easy for Python and happiness.

Project Description

# Hues This is the 90s and your terminal can display _16_ glorious colors. Your Python scripts deserve the some color love. Hues makes printing to console in color easy. Just grab the package from PIP, and your monochromatic days will be a thing of past!

## Quickstart

Go, grab the latest version from PIP. Run:

`bash pip install hues `

Then, in your scripts, do this:

`python >>> import hues >>> hues.log('42') >>>'42') `

### Configuration



All the colors, styles and backgrounds are available as object attributes. The chainable syntax is optimized deterministically using a push down automaton, so when you’re being particularly indecisive, you can:

`python >>> print(hue('MONDAY!') `

and there won’t be a single trace of red in your bright yellow message to mondays.

Each hue string is self closing, so you can’t accidentally color your whole terminal yellow because you forgot the reset escape sequence.

## Colors

All 16 glorious ANSI colors are available for both background and foreground. Assorted text styles such as `bold`, italics`_ and <u>`underline`</u> are also available. Too many colors? Worry not fam, go to town with `reset attribute.

## Todo - [ ] Expand this readme. - [ ] Add screenshots! - [ ] Unicorns required.

> Back in my days, we didn’t even have colors!

Release History

This version
History Node


History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(14.9 kB) Copy SHA256 Hash SHA256
Egg 3.5 Oct 2, 2016
(8.9 kB) Copy SHA256 Hash SHA256
Wheel 3.5 Oct 2, 2016
(7.8 kB) Copy SHA256 Hash SHA256
Source None Oct 2, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting