A library for printing colored text
Project description
color_text
This is a library for printing colored texts.
这是一个用来打印彩色文字的库。
Note 注意
Best used in Python 3.8
最好在 Python 3.8 上使用
Install 安装
pip3 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() 函数中看到这个例子的结果。(如果计算机默认语言是中文的就会看到中文结果,函数的顺序是一样的)
What's new in this version 这个版本中的新功能
-
Added version information.
-
增加了版本信息
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.2.tar.gz
(4.9 kB
view details)
Built Distribution
File details
Details for the file color_text-1.1.2.tar.gz
.
File metadata
- Download URL: color_text-1.1.2.tar.gz
- Upload date:
- Size: 4.9 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 | 9169d099d75d301cf41cc5d684689c9b03172baf235b2705e9a8eff10be49bfc |
|
MD5 | 2ded37e538f6cf51fc768aa9e456a3de |
|
BLAKE2b-256 | 644f68da88062a5388e70b55d616df15e8b0025ce8ebc6629239b1a26b56282b |
File details
Details for the file color_text-1.1.2-py3-none-any.whl
.
File metadata
- Download URL: color_text-1.1.2-py3-none-any.whl
- Upload date:
- Size: 7.0 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 | 18818720c1b6a6a307911bab9ae4af0b852f7509eff5d5d34c0671507ae014bc |
|
MD5 | 39913a0dfd978394c09650659d536a5c |
|
BLAKE2b-256 | b27830d2dcceaa6c3fe15d02a5fc2d0fc4f9ed4109474a49ca45935a162dd026 |