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-2.5.0.tar.gz (8.8 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-2.5.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for text_discoloration-2.5.0.tar.gz
Algorithm Hash digest
SHA256 7b37058c9c7da5fef4c421095672a3fc9007c08b705f0039d10d49aa828b084b
MD5 8a16fbdccd52cc57b49bcc732ed04b68
BLAKE2b-256 8db0d55c883f23e52ad9fa71d33ef58937e5a804963b755a252a05c84329caa7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for text_discoloration-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc35f0fa353c895e9471718a956404ec48e753c4e41e713d40d639e23c82a5f1
MD5 19a75a81024c3fb969f0318ab40fc951
BLAKE2b-256 b9d8781ffb684317548e277d4d7e616c21331cf7ca66076b69bf7e0499e12f11

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