Skip to main content

Animated golden wave text widget for Textual

Project description

textual-golden

Animated golden text widget for Textual.

Installation

pip install textual-golden

Usage

from textual.app import App, ComposeResult
from textual_golden import Golden

class MyApp(App):
    def compose(self) -> ComposeResult:
        yield Golden("Loading...")

MyApp().run()

Custom Colors

from textual_golden import Golden, BLUE, FIRE

# Use preset color schemes
yield Golden("Processing...", colors=BLUE)
yield Golden("Warning!", colors=FIRE)

# Or define your own
from textual.color import Color
MY_COLORS = [Color(255, 0, 0), Color(255, 255, 255), Color(255, 0, 0)]
yield Golden("Custom!", colors=MY_COLORS)

Presets

  • BLUE - Cool blue shimmer
  • GREEN - Nature green
  • PURPLE - Royal purple
  • FIRE - Red/orange fire effect

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

textual_golden-0.1.0.tar.gz (358.1 kB view details)

Uploaded Source

Built Distribution

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

textual_golden-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file textual_golden-0.1.0.tar.gz.

File metadata

  • Download URL: textual_golden-0.1.0.tar.gz
  • Upload date:
  • Size: 358.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.20

File hashes

Hashes for textual_golden-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9948eb3f38c4683ba9ad017763c1c2199e68a84683cb3ecb1045e1141f39cb6f
MD5 0eb74c993288f05d1dd14bde499c5fe4
BLAKE2b-256 7aaba55daeee2145aed79c3cb3cfd158d94083f134db44eaadc538f5c96a3213

See more details on using hashes here.

File details

Details for the file textual_golden-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for textual_golden-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2c62229788927fdaa88e4611daf962bfc027e5e041156f5b29e5a7bd4b7a5b6
MD5 6b535bac3009a2f47df8d1177fa02571
BLAKE2b-256 58c065929e9582e25cb867636d4321838c669d5612e2967416f5c33b1540d3ab

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