Beautiful and smooth text animations for terminal output
Project description
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 animatedelay(float): Delay between animation steps in secondsrepeat(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
Links 🔗
Made with ❤️ for the Python community# smooth-text-animation
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
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 smooth_text_animation-0.1.0.post1.tar.gz.
File metadata
- Download URL: smooth_text_animation-0.1.0.post1.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c4f8d1e319c890ae90e355d1d819e01a399615a9f313946021f84dbef93895f
|
|
| MD5 |
3e2106dda6d6ecf380e3fba71290c3dc
|
|
| BLAKE2b-256 |
772964513035ddf6f706573ff3613df860985698e53ccb70f3fced7e786447ef
|
File details
Details for the file smooth_text_animation-0.1.0.post1-py3-none-any.whl.
File metadata
- Download URL: smooth_text_animation-0.1.0.post1-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4edadbd713ac527a91335ca070310120bfdff00e003ab3d984d7e9f86b702b2f
|
|
| MD5 |
29c1534a51130fb000a547d082e6d7a4
|
|
| BLAKE2b-256 |
c40833c78ee729e46c2709b39d565d00658788862851bf74e0429ee63533ab3d
|