🖌️Module for terminal string styling
Installation
pip install ColorChalks
Usage
from ColorChalks import ColorChalks
# Print "Hello World!" in yellow color.
print(ColorChalks.FCOLORS.Yellow + "Hello World!")
# Print "Hello World!" with green background color.
# but first you have to reset
print(COLORS.Reset + BCOLORS.Green + "Hello World!")
## Print "Hello World!" with green background color with blue foreground color
print(COLORS.Reset + BCOLORS.Green + FCOLORS.Blue + "Hello World!")
Note: Version 1.0.3 comes with foreground colors (FCOLORS) and background colors (BCOLORS)
Colors
BlackRedGreenYellowBlueMagentaCyanWhiteBrightBlackBrightRedBrightGreenBrightYellowBrightBlueBrightMagentaBrightCyanBrightWhite
NOTE: Use the following command to reset to default color. Prefer to use this command before jumping from Bright colors to normal colors.
print(ColorChalks.COLORS.Reset)
Metadata
Release files for ColorChalks 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ColorChalks-1.0.3.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ColorChalks-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / ColorChalks-1.0.3.tar.gz
| Download URL | ColorChalks-1.0.3.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96a58f97806497ccb2f5f90d7f22cefd783fa4bc299822f8e388d5f052808668
|
|
BLAKE2b-256 checksum How to use checksums |
a1cbbc51a5b83abf2f33318e7f96540d5e81311e2e769f7560a538d37f45956e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.6
|
Release files / ColorChalks-1.0.3-py3-none-any.whl
| Download URL | ColorChalks-1.0.3-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
282ab71a086764bfbc74c412d948af74fb395731613b69e58be84bc454f021b4
|
|
BLAKE2b-256 checksum How to use checksums |
0bf8f4a028edfc4f7e43ed1d265b4d79c23b6a8cea4571b2749fa5cd27d1732a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.6
|