Skip to main content

# 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') >>> hues.info('42') `

### Configuration

[TODO]

_whoa!_

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!').bold.red.bg_green.underline.bright_yellow) `

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!

Metadata

Release files for hues 0.2.2

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

Source distribution (sdist)

Source distribution for hues 0.2.2
File Size Uploaded Provenance
hues-0.2.2.tar.gz 7.8 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for hues 0.2.2
File Interpreter ABI Platform
hues-0.2.2-py3.5.egg Legacy Egg format - - Details
hues-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 31.6 kB

Release files / hues-0.2.2.tar.gz

Download URL hues-0.2.2.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4ec065be7a4fa8d12697a1ac9ad6b2519d8f7976b4b03f7c8f11cc721ba1b147
BLAKE2b-256 checksum
How to use checksums
c4fe457b0ddd67e0ea5f39f9098492512cb291ec3fc4084a3da2ed234128b29b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / hues-0.2.2-py3.5.egg

Download URL hues-0.2.2-py3.5.egg
Size 14.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
9e1cf47196a9ba6fa77c1841a491ffd642ec8b39093d44196076a2ca91edbd50
BLAKE2b-256 checksum
How to use checksums
511c925cf8ddfcd5974d3e40beda8a63027fac05d17e524bc5f045309b156c6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / hues-0.2.2-py3-none-any.whl

Download URL hues-0.2.2-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
108eed8a514235585a8ccd8bf2a6ea955eefc376024cbdc1db62dd17fc59909f
BLAKE2b-256 checksum
How to use checksums
6a6677a85736f2a18ccafd984ebe8dabd55c38a85facf17668263e9255f2888e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for hues 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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