A library for printing colored text
Project description
color_text
This is a library for printing colored texts.这是一个用来打印彩色文字的库。
install
pip install color_text
example
from color_text import *
printLightRed("This is a light red text.")
printYellow("This is a yellow text.")
printRed("This is a red text.")
printGreen("This is a green text.")
printBlack("This is a black text.")
printBlue("This is a blue text.")
printPurple("This is a purple text.")
printWhite("This is a white text.")
printGrey("This is a grey text.")
printGray("This is a grey text too.")
printLightBlue("This is a light blue text.")
printVeryLightGreen("This is a very light green text.")
printLightPurple("This is a light purple text.")
printLightYellow("This is a light yellow text.")
printGlossWhite("This is a gloss white text.")
printLightGreen("This is a light green text.")
printLightGreen("This is a light green text too.", 2)
Print("This is a text.")
# You can see the result of this example in the exaple() function of this library.
# 你可以在这个库的 exaple() 函数中看到这个例子的结果。
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
color_text-1.1.0.tar.gz
(4.5 kB
view details)
Built Distribution
File details
Details for the file color_text-1.1.0.tar.gz
.
File metadata
- Download URL: color_text-1.1.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a3411b872a9bb804dcbb8ba5e830026170602c729df2a9c087da0af21bef0eb |
|
MD5 | 20823115cb25d8c754a970c829aefb14 |
|
BLAKE2b-256 | d170d2461bcafc35f25a5d936b5e22250c850c9eea7f56917896e8c6de0a6c5a |
File details
Details for the file color_text-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: color_text-1.1.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e45f4019a8da52eae485f424e855d1b2f914bc4ba35243c8093af8c68a263323 |
|
MD5 | 6d854596b6cd6bf35e42e052f8864849 |
|
BLAKE2b-256 | 7875c8f1bcb66224b27e0457ad38e97d4f4f119cf88b2dba786bb294c5900cee |