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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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