Skip to main content

Terminal text coloring library

Project description

easycolor-termux

A super practical and lightweight library to print colored and styled text in the terminal with a single line of code.

Installation

pip install easycolor-termux

Quick Start

import easycolor

easycolor.green("Hello World!")
easycolor.bright_red("An error occurred!")
easycolor.bg_blue("Text with blue background")


User Guide & All Functions
​Here is the complete list of all functions you can use with easycolor.
​1. Standard Text Colors
easycolor.black("Text")
easycolor.red("Text")
easycolor.green("Text")
easycolor.yellow("Text")
easycolor.blue("Text")
easycolor.purple("Text")
easycolor.cyan("Text")
easycolor.white("Text")

2. Bright Text Colors
easycolor.bright_black("Text")
easycolor.bright_red("Text")
easycolor.bright_green("Text")
easycolor.bright_yellow("Text")
easycolor.bright_blue("Text")
easycolor.bright_purple("Text")
easycolor.bright_cyan("Text")
easycolor.bright_white("Text")

3. Background Colors
easycolor.bg_black("Text")
easycolor.bg_red("Text")
easycolor.bg_green("Text")
easycolor.bg_yellow("Text")
easycolor.bg_blue("Text")
easycolor.bg_purple("Text")
easycolor.bg_cyan("Text")
easycolor.bg_white("Text")

4. Bright Background Colors
easycolor.bg_bright_black("Text")
easycolor.bg_bright_red("Text")
easycolor.bg_bright_green("Text")
easycolor.bg_bright_yellow("Text")
easycolor.bg_bright_blue("Text")
easycolor.bg_bright_purple("Text")
easycolor.bg_bright_cyan("Text")
easycolor.bg_bright_white("Text")

5. Text Styles
easycolor.bold("Text")
easycolor.dim("Text")
easycolor.italic("Text")
easycolor.underline("Text")
easycolor.blink("Text")
easycolor.strike("Text")

6. Ready-to-Use Log Combos
easycolor.success("Database connected successfully.")
easycolor.error("Invalid password!")
easycolor.warning("Disk space is low.")
easycolor.info("System updated.")
easycolor.alert("CRITICAL SECURITY ALERT!")

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

easycolor_termux-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

easycolor_termux-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: easycolor_termux-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for easycolor_termux-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2857903b967538da85894761eeb829b9f7ad8b919c0b1f027b4495c512762e9c
MD5 76fd55ee969ab4f5c180feb409c8f2b6
BLAKE2b-256 4900cbc79ef0950bc5412516307c1b52d7038a07bc12d2cd07983f23d2faf853

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easycolor_termux-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7fcd3fcbf1136a15b2c292bdd8685a41cb0701e76986b8d77b64a8d4cd98ca1
MD5 02facc7bc922acee0327cc4b35d0cea1
BLAKE2b-256 889e70f24b52a692fe019ac7e004099fdd00072aa53c6099e945c2b3adc17513

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