Skip to main content

A very, very, small package to color the terminal

Project description

kule-ko

The billionth package for terminal colors!

Basic Use

First, do

import kule_ko as k

to put the module in your program.

To color text, it's as simple as calling a variable.

print(f"{k.R}Hello world!{k.RESET})

This will cause the output text to appear red. There are some other functions too, probably.

k.clear()

will clear the screen.

The list of color codes:

B = Black text.
R = Red text.
G = Green text.
Y = Yellow text.
B = Blue text.
M = Magenta text.
C = Cyan text.
W = White text.
UNDERLINE = Underlines.
DOUBLE_UNDERLINE = Double underlines.
CURLY_UNDERLINE = Curly underlines.
BLINK = Blinks the text.
REVERSE = Reverses the text.
HIDDEN = Hides the text.
STRIKETHROUGH = Strikes the text through.
OVERLINE = Overlines the text.
BOLD = Bolds.
DIM = Dims.
ITALIC = Italicizes.
RESET = Resets the formatting.

This project's code will be released on Github soon!

Changelog

1.0.0:

  • Release!

1.0.1:

  • Added more info to the README
  • Added more info to the pyproject.toml (description)
  • Added the MIT License

1.1.0:

  • Actually made it so you can use the darn thing ☠️
  • Rectified a mistake in the README (import as kule_ko, not kule-ko)

1.2.0:

  • ACTUALLY made it so you can use the darn thing 😭

1.2.1:

  • Fixed a spelling mistake in the README (yor to your)

1.2.2:

  • Github is now up!

1.2.3:

  • Switched method of clearing from os calls to ANSI

1.2.4:

  • Fixed it (I really have to stop publishing without testing)

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

kule_ko-1.2.4.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

kule_ko-1.2.4-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file kule_ko-1.2.4.tar.gz.

File metadata

  • Download URL: kule_ko-1.2.4.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Windows/11

File hashes

Hashes for kule_ko-1.2.4.tar.gz
Algorithm Hash digest
SHA256 ee26bde2e5740c7dca3cfbec714a5fa14f1f4b3053587b45f421c0004ce32380
MD5 7d7753cd895566a15cd524cb60bea0a2
BLAKE2b-256 3011eafcf85409632c8a34d3acaeb3e0910c16b6e8abadf2d200829cac577c2e

See more details on using hashes here.

File details

Details for the file kule_ko-1.2.4-py3-none-any.whl.

File metadata

  • Download URL: kule_ko-1.2.4-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Windows/11

File hashes

Hashes for kule_ko-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a0466cb01aaf3a3920cc404bd2c55f2ead3fb275472d4fe5e77af940c814ca81
MD5 2d7d6f53cc0c01810031f03cba715dae
BLAKE2b-256 5fc78c7d5b86c87f1b8cb8cb3cf0874c0b91cde9759eaa28371ec9ab043aeacb

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