Skip to main content

TTE

Terminal Text Effects

Inline Visual Effects in the Terminal

PyPI - Version PyPI - Python Version License

Table Of Contents

TTE

tte_terminal_header_optimized

TerminalTextEffects is a collection of visual effects that run inline in the terminal. The underlying visual effect framework supports the following:

  • XTerm 256 Color
  • RGB Hex Triplet Color
  • Color Gradients
  • Character Motion (Waypoints, Speed, Acceleration)
  • UTF8 Character Set

Requirements

TerminalTextEffects is written in Python and does not require any 3rd party modules. Terminal interactions use standard ANSI terminal sequences and should work in most modern terminals.

Installation

pip install terminaltexteffects

Usage

cat your_text | tte <effect> [options]

OR

cat your_text | python -m terminaltexteffects <effect> [options]

  • All effects support adjustable animation speed using the -a option.
  • Use <effect> -h to view options for a specific effect, such as color or movement direction.
    • Ex: tte decrypt -h

Options

options:
  -h, --help            show this help message and exit
  --xterm-colors        Convert any colors specified in RBG hex to the closest XTerm-256 color.

Effect:
  Name of the effect to apply. Use <effect> -h for effect specific help.

  {burn,columnslide,decrypt,expand,pour,rain,randomsequence,rowmerge,rowslide,scattered,shootingstar,spray,verticalslice}
                        Available Effects
    burn                Burns vertically in the output area.
    columnslide         Slides each column into place.
    decrypt             Display a movie style decryption effect.
    expand              Expands the text from a single point.
    pour                Pours the characters into position from the given direction.
    rain                Rain characters from the top of the output area.
    randomsequence      Prints the input data in a random sequence.
    rowmerge            Merges rows of characters.
    rowslide            Slides each row into place.
    scattered           Move the characters into place from random starting locations.
    shootingstar        Displays the text as a falling star toward the final coordinate of the character.
    spray               Draws the characters spawning at varying rates from a single point.
    verticalslice       Slices the input in half vertically and slides it into place from opposite directions.

Examples

RAIN

rain_example

DECRYPT

decrypt_example

BURN

burn_example

ROWSLIDE

rowslide_example

EXPAND

expand_example

License

Distributed under the MIT License. See LICENSE for more information.

Metadata

Release files for terminaltexteffects 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for terminaltexteffects 0.2.1
File Size Uploaded
terminaltexteffects-0.2.1.tar.gz 28.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for terminaltexteffects 0.2.1
File Interpreter ABI Platform
terminaltexteffects-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 74.1 kB

Release files / terminaltexteffects-0.2.1.tar.gz

Download URL terminaltexteffects-0.2.1.tar.gz
Size 28.2 kB
Tags Source
SHA-256 checksum
How to use checksums
91f0185ec2044717cc4ebc64d08ae88e1fd86a688dd224093adfe5ac42b7fd3a
BLAKE2b-256 checksum
How to use checksums
6495bcc4e4b6a1815f6df7776117f37301ef328dd53500149d73c27a88d4f8a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.12 Linux/6.4.6-76060406-generic

Release files / terminaltexteffects-0.2.1-py3-none-any.whl

Download URL terminaltexteffects-0.2.1-py3-none-any.whl
Size 45.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
187ad265e28543cf6538246c9078c1217b319c8a5283262270bfa86e55e267e4
BLAKE2b-256 checksum
How to use checksums
11726736d7d2824107d95ef184f11c1990f2e74459b1f9f414fc5b9f4b65b462
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.12 Linux/6.4.6-76060406-generic

Release history Release notifications | RSS feed

0.15.0

2 release files

0.14.2

2 release files

0.14.1

2 release files

0.14.0

2 release files

0.13.0

2 release files

0.12.2

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page