终端彩色工具 + 安全密钥生成
Project description
text_discoloration
Colorful terminal output with typewriter effect. Zero dependencies.
Features
Color Output
- 8 classic colors: Red, Green, Yellow, Blue, Purple, Cyan, White, Black
- Direct color printing:
color_print_red("Hello") - Color typewriter effect:
typewriter_blue("Hello", delay=0.05)
Typewriter Effects
- Standard typewriter:
typewriter("text", delay=0.05) - Random color typewriter:
random_typewriter("rainbow text") - Custom color typewriter:
color_typewriter("text", "green")
Status Prompts
info("Loading...")→ Blue [INFO]success("Done!")→ Green [SUCCESS]error("Failed")→ Red [ERROR]warn("Check this")→ Yellow [WARNING]
Utilities
slow_print("slow text", delay=0.05)— Print character by charactercolor_print_red("text")— Print without typewriter effect
Installation
pip install text_discoloration
Update Notice
- Log prompt is disabled by default.
- If you need to enable log prompts, use the example below:
from text_discoloration import set_verbose
set_verbose()
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
text_discoloration-3.1.4.tar.gz
(12.9 kB
view details)
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 text_discoloration-3.1.4.tar.gz.
File metadata
- Download URL: text_discoloration-3.1.4.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd30efaabc57357cf8f731d72d17d119c86efe2a5637269d6be8f601dca37ff2
|
|
| MD5 |
87597f50b77cfb17a28d9182b67080ba
|
|
| BLAKE2b-256 |
bf07e7415ffd2f733ddbab461a77f619252978bc9e880b2319a87ec3310b8b28
|
File details
Details for the file text_discoloration-3.1.4-py3-none-any.whl.
File metadata
- Download URL: text_discoloration-3.1.4-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
979153e1c06967becaa6c2efb37c357e7d1ae93c4583ecf6cd5ebbd0170cdead
|
|
| MD5 |
b75d567bb3445ce836a4e8296afbb8ae
|
|
| BLAKE2b-256 |
c02431793baaf7dd1ac6b54ee164dfee0c9b52d289cdf2154afe671363aa051f
|