Color Markup In Python!
Project description
pycolor3
Installation:
For Windows:
pip install pycolor3==0.0.3 --upgrade
For MacOS and Linux:
pip3 install pycolor3==0.0.3 --upgrade
Usage Examples:
from pycolor3 import color
# Colorful Text
print(color("green", "Hello World")) # print "Hello World" in green
print(color("l-red", "This is light red!")) # print "This is light red!" in light red
# Background Colors
print(color("bg-cyan", "This has a cyan background!")) # prints text with a cyan background
print(color("bg-green", "This has a green background!")) # prints text with green background
A list of all available colors:
- gray
- black
- red
- green
- yellow
- blue
- magenta
- cyan
- white
you can prefix "l-" to any color to make it light.
you can also prefix "bg-" to any color to make it background.
for a light background, you can use "l-bg-" as a prefix.
NOTE: there isn't a "l-" prefix for white.
License: The MIT License (MIT)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pycolor3-0.0.4.tar.gz.
File metadata
- Download URL: pycolor3-0.0.4.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8678a678e4cc7f4a97bb9dcdd687e85b233868e1053d18677793ff2c845b7196
|
|
| MD5 |
840e1daf80ea1ad29bfd6cb2e62d9006
|
|
| BLAKE2b-256 |
25fe8f04fd04522d8b7d1cb1775be8db8c1de7696a2d955f8e2afa25203a24b9
|
File details
Details for the file pycolor3-0.0.4-py3-none-any.whl.
File metadata
- Download URL: pycolor3-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ab681f1d67d026f8492a1c507d93ed9957fd991bc917e3203eaa2c5a464ee23
|
|
| MD5 |
d0f5e64d15fd1f302739ed38c0ff23df
|
|
| BLAKE2b-256 |
4cfb744f3f719c68a89cf7ee8a6d77b4554e8a73a22b05245601c927c53b43b9
|