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
Release files for Py-Colors 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Py-Colors-0.2.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Py_Colors-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.0 kB
Release files / Py-Colors-0.2.tar.gz
| Download URL | Py-Colors-0.2.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9601fd2c60f85da64abc8f8cd366b8b27a4b5f5abf020ddb4704db618c68bf40
|
|
BLAKE2b-256 checksum How to use checksums |
ebc982f1d10d1843393b04d9ab04e3d9aa2451ec8080900aa260c2466aa2aaaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / Py_Colors-0.2-py3-none-any.whl
| Download URL | Py_Colors-0.2-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e705ab404858c549b25bbcd55026b73d31d2cb8014c771a86749bd3059844a1
|
|
BLAKE2b-256 checksum How to use checksums |
40fa50fe5b80923870f7a90a659cbc62cfb241c91f3e7b1ca330bccd9146bb48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|