Skip to main content

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 这个版本中的新功能

The example() and Print() functions have been added.

增加了example() 函数和 Print() 函数。

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

color_text-1.1.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

color_text-1.1.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file color_text-1.1.1.tar.gz.

File metadata

  • Download URL: color_text-1.1.1.tar.gz
  • Upload date:
  • Size: 4.8 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

Hashes for color_text-1.1.1.tar.gz
Algorithm Hash digest
SHA256 5bf25cf6054beb346accb8176dd8b13ece2b3d42977558f19ce16cf2b1c3ceb9
MD5 e161abe4627d3b47e449e77541a08aee
BLAKE2b-256 767f50ba1a992467bfa7182f8d5c35a6a02fb65bd1502252c04bc83cb52b1f77

See more details on using hashes here.

File details

Details for the file color_text-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: color_text-1.1.1-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

Hashes for color_text-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ce93fcfad565b602bc194fa4bdee30f543ac1b6abfdaccc6e1b3f3e6586007d
MD5 fb44990e01b0fc776a4f44e0bf4a74ef
BLAKE2b-256 98c57f9b4a177e08cef4af092785d18afeb829920a70fcfb091f3f3a246bdf10

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page