Python-Colors For Using To Beautify Your Output With Just Including It As A Simple Variable
Project description
Colors In Python
Important Note
THESE ARE THE CODES FOR COLORS IN LINUX TERMINAL JUST LIKE HTML
BG = BACKGROUND
BR = BRIGHT
BG_BR = BRIGHT BACKGROUND
THIS ONLY WORKS IN LINUX TERMINAL AND DIDN'T WORK IN CMD OR POWERSHELL IN WINDOWS
Installation
sudo apt install python3 python3-pip
pip install python-colors
Usage
For Ex: Using Blue Color
import colors
colors = colors.colors()
print(colors.BLUE + "Your Text")
All Available Colors
BG = BACKGROUND
BR = BRIGHT
BG_BR = BRIGHT BACKGROUND
RED
BLUE
CYAN
YELLOW
GREEN
MAGENTA
WHITE
BR_RED
BR_GREEN
BR_YELLOW
BR_BLUE
BR_MAGENTA
BR_CYAN
BR_WHITE
BG_BLACK
BG_RED
BG_GREEN
BG_YELLOW
BG_BLUE
BG_MAGENTA
BG_CYAN
BG_WHITE
BG_BR_BLACK
BG_BR_GREEN
BG_BR_YELLOW
BG_BR_BLUE
BG_BR_MAGENTA
BG_BR_CYAN
BG_BR_WHITE
RESET
BOLD
REVERSE
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
Built Distribution
Close
Hashes for python_colors_linux-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d8dee1532884bd34eb917718a74f0d2707a452ad397abd120b85babb18e5fc7 |
|
MD5 | d3efd0d272d058b48f504865640eb525 |
|
BLAKE2b-256 | 65c3098454193aea2f6452c02cc84fd8686e420f361eac9c435888594b62c3ce |