Skip to main content

Library For Coloring And Formatting Terminal

Project description

Py-Colors

Installation

pip install py-colors

Note

If Your Using Windows This package will add all available colors
to windows registry so you can easily add colors to your code.

Usage

from colors import *
# First Method
print(fg_color + bg_color + style + "Hello, World")
# Second Method
print(color(string="Hello, World", fg="blue", bg="black", style="bold"))

Available Colors

Colors

RED
BLUE
CYAN
YELLOW
GREEN
MAGENTA
WHITE
BLACK

Backgrounds

BG_BLACK
BG_RED
BG_GREEN
BG_YELLOW
BG_BLUE
BG_MAGENTA
BG_CYAN
BG_WHITE

Styles

RESET
BOLD
REVERSE
UNDERLINE
ITALIC
BLINK
INVISIBLE
RED_UNDERLINE
GREEN_UNDERLINE
STRIKE
CURLY_UNDERLINE

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

Py-Colors-0.2.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

Py_Colors-0.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file Py-Colors-0.2.tar.gz.

File metadata

  • Download URL: Py-Colors-0.2.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for Py-Colors-0.2.tar.gz
Algorithm Hash digest
SHA256 9601fd2c60f85da64abc8f8cd366b8b27a4b5f5abf020ddb4704db618c68bf40
MD5 d7736c9e9ca4bec523ea8031258aeb49
BLAKE2b-256 ebc982f1d10d1843393b04d9ab04e3d9aa2451ec8080900aa260c2466aa2aaaa

See more details on using hashes here.

File details

Details for the file Py_Colors-0.2-py3-none-any.whl.

File metadata

  • Download URL: Py_Colors-0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for Py_Colors-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3e705ab404858c549b25bbcd55026b73d31d2cb8014c771a86749bd3059844a1
MD5 5cd60c2039ef2796b03c68a8430d72c8
BLAKE2b-256 40fa50fe5b80923870f7a90a659cbc62cfb241c91f3e7b1ca330bccd9146bb48

See more details on using hashes here.

Supported by

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