Skip to main content

Alternative to colorama, has more colors and ANSI features.

Project description

HueKit

Huekit is a simple package which lets you style and color text. Unlike colorama and other python text color-izers, huekit also lets you style text, and has more color variety than colorama.

How To Use

The following is a code block which will later be explained, showing how to use huekit:

from huekit imort huekit

print(huekit.color("red") + huekit.bgcolor("blue") + "This text is red (with a blue background)," + huekit.style("bold") + " And this text is bold!")

from huekit import huekit: import the library.

huekit.color("red")": this is huekit's color function. For a full list of the avaliable colors, please run huekit.colors().

huekit.bgcolor("blue"): this is huekit's background color function. For a full list of the avaliable background colors, please run huekit.bgcolors().

huekit.style("bold"): this is huekit's style function. For a full list of the avaliable styles, please run huekit.styles().

Notes

  • huekit.color("white") resets all effects, doesn't just change the color to white.
  • You can concatenate styles, background colors and colors together.

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

huekit-0.1.0.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

huekit-0.1.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file huekit-0.1.0.tar.gz.

File metadata

  • Download URL: huekit-0.1.0.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for huekit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 64c662ffa60fd97cb759ca89311c86b86a15691ab1e69f1d241e13fd03fd77d4
MD5 e1d2cc97aed195892ef99d4dad18c098
BLAKE2b-256 417f7301d5c1270d6158c6dd33f88b27e3de1187239f9a14d3eb66bb0e5fcb53

See more details on using hashes here.

File details

Details for the file huekit-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: huekit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for huekit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 be8eac0b80de830067264a98a4e9de6ec4c681c9f3b0c20312197b79b7b3c805
MD5 e536f03b6e2233d7828d52a1cd2cf6bf
BLAKE2b-256 4f3fbddcda4fcb982053e039f1b98fbacd916adf171fa3bd960305ab9d6c6b40

See more details on using hashes here.

Supported by

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