🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

smooth-text-animation

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smooth-text-animation

Beautiful and smooth text animations for terminal output

pipPyPI
Version
0.1.1
Maintainers
1

Smooth Text Animation 🎨

Beautiful and smooth text animations for terminal output in Python.

Features ✨

  • 10+ animation effects for terminal text
  • Easy to use - just import and call
  • Lightweight - no external dependencies
  • Customizable - adjust speed and behavior
  • Cross-platform - works on Windows, macOS, and Linux

Installation 📦

pip install smooth-text-animation

Quick Start 🚀

from smooth_text_animation import animated_line, wave_text, blinking_text

# Typing effect
animated_line("Hello, World!", delay=0.1)

# Loading effect
wave_text("Loading", delay=0.3)

# Blinking warning
blinking_text("Warning!", repeat=5, delay=0.5)

Available Animations 🎭

1. Animated Line (Typing Effect)

from smooth_text_animation import animated_line
animated_line("This text appears character by character!", delay=0.05)

2. Dual Side Animation

from smooth_text_animation import animated_line_dual
animated_line_dual("Text appears from both sides!", delay=0.1)

3. Fade In Effect

from smooth_text_animation import fade_in_text
fade_in_text("This text fades in gradually!", delay=0.2)

4. Marquee Text (Scrolling)

from smooth_text_animation import marquee_text
marquee_text("This text scrolls across the screen!", width=30, delay=0.1)

5. Wave Loading

from smooth_text_animation import wave_text
wave_text("Loading", delay=0.3, repeat=3)

6. Blinking Text

from smooth_text_animation import blinking_text
blinking_text("ALERT!", repeat=5, delay=0.3)

7. Random Fill

from smooth_text_animation import random_fill
random_fill("Characters appear randomly!", delay=0.1)

8. Reverse Text

from smooth_text_animation import reverse_text
reverse_text("Text appears from right to left!", delay=0.2)

9. Rotate Loading

from smooth_text_animation import rotate_text
rotate_text("Processing", delay=0.2, cycles=10)

10. Combined Animation

from smooth_text_animation import combined_animation_simultaneous
combined_animation_simultaneous("Fade in and out!", delay=0.1)

Parameters 🎛️

Most functions accept these common parameters:

  • text (str): The text to animate
  • delay (float): Delay between animation steps in seconds
  • repeat (int): Number of times to repeat the animation (for some effects)

Examples đź’ˇ

Progress Indicator

from smooth_text_animation import wave_text
import time

for i in range(1, 6):
    wave_text(f"Processing step {i}/5", delay=0.2, repeat=2)
    time.sleep(1)

Alert System

from smooth_text_animation import blinking_text

blinking_text("⚠️ System Alert!", repeat=3, delay=0.5)

Welcome Message

from smooth_text_animation import animated_line_dual, fade_in_text

animated_line_dual("=== Welcome to My App ===", delay=0.05)
fade_in_text("Loading your dashboard...", delay=0.3)

Requirements đź“‹

  • Python 3.7+
  • No external dependencies!

License đź“„

MIT License - feel free to use in your projects!

Contributing 🤝

Contributions are welcome! Please feel free to submit a Pull Request.

Author ✍️

traitimtrongvag - tbinh831@gmail.com

Made with ❤️ for the Python community# smooth-text-animation

Keywords

animation

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts