终端彩色工具 + 安全密钥生成
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.0.tar.gz
(13.4 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.0.tar.gz.
File metadata
- Download URL: text_discoloration-3.1.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5413b05e2283f11d2d31ef1c254b8478778c1055d4fd98cdc488617687139aef
|
|
| MD5 |
8d905130c64da6f3549cffb8ed1032c3
|
|
| BLAKE2b-256 |
5a8f6b28b129780f437090655bb8bae97ac404451ce595d40b93d80b082a67aa
|
File details
Details for the file text_discoloration-3.1.0-py3-none-any.whl.
File metadata
- Download URL: text_discoloration-3.1.0-py3-none-any.whl
- Upload date:
- Size: 13.8 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 |
e35930ea41d8979e52d517346fbe9df822faf66f7e4b15abf566ebb9377841ab
|
|
| MD5 |
41bb882c44288852815ffa2cd97b2364
|
|
| BLAKE2b-256 |
a52ecb7d6fec91becb65f3ac90f0c0f1bbbe1f357ab1ae0d7f05e1c5a2087948
|