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
Release history Release notifications | RSS feed
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)