Skip to main content

终端彩色工具 + 安全密钥生成

Project description

text_discoloration

Colorful terminal output with typewriter effect. Zero dependencies.

Features

Color Output

  • 8 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 character
  • color_print_red("text") - Print without typewriter effect

Installation

pip install text_discoloration

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

text_discoloration-3.0.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

text_discoloration-3.0.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file text_discoloration-3.0.0.tar.gz.

File metadata

  • Download URL: text_discoloration-3.0.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for text_discoloration-3.0.0.tar.gz
Algorithm Hash digest
SHA256 7ce696838d327de5147b82ee70b67d36cfc5ef37c108901ce8a66fc9cbf6d14e
MD5 1caf4f62fd07d22d755dfc32f5f122e8
BLAKE2b-256 fe6783f1f2783c5fd0d342f251667d6e0428178a1ab5ad7f71e9aeecfb91d826

See more details on using hashes here.

File details

Details for the file text_discoloration-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for text_discoloration-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7ae192bc719458f3adb76b0bb37e3f7f47604473eb4990dd973455488d64195
MD5 bf1cb680556264766e8ea9ba3515f79e
BLAKE2b-256 bfb9ccfb3a8cc6b7341a7a8600411fea6f078fabfde518b197b8e6c1085c721c

See more details on using hashes here.

Supported by

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