pycolor3
Installation:
For Windows:
pip install pycolor3 --upgrade
For MacOS and Linux:
pip3 install pycolor3 --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)
Metadata
Release files for pycolor3 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pycolor3-0.0.6.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycolor3-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / pycolor3-0.0.6.tar.gz
| Download URL | pycolor3-0.0.6.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c22f477e3ba459d6eb1920e8b8478970b1ae9a6d006739343ba155b2169ab9e5
|
|
BLAKE2b-256 checksum How to use checksums |
89c1e42e682e57285cb4a17282157441761a5c2c963e19e54f17348f81c9003e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pycolor3-0.0.6-py3-none-any.whl
| Download URL | pycolor3-0.0.6-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
821c04bba3b0b2e1e2230bfe7e53fb754c8e251810a3fc673098e6e35b46e9e1
|
|
BLAKE2b-256 checksum How to use checksums |
38e86d391153dad6f4dcf07b5d70eac9ba673707f477947133a448b9668550fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|