Skip to main content

textfx is a Python library for creating dynamic and visually engaging text effects.

Project description

Textfx

PyPI Downloads

Textify is a Python library for creating dynamic and visually engaging text effects. It offers multiple functions to display text with unique animations and styles, perfect for enhancing console-based projects.

Features

  • Typing Effect: Simulates the effect of typing text character by character.
  • Falling Text: Coming Soon...
  • Scramble Effect: Displays random characters that gradually transform into the actual text.
  • Wave Text: Makes the text move in a wave-like pattern.
  • Untyping Effect: Gradually erases text character by character.
  • Unfalling Text: Coming Soon...
  • Unscramble Effect: The text gradually scrambles into random characters until it disappears.
  • Unwave Text: The text starts in a wave-like pattern and gradually stabilizes.

Installation

You can install it With:

pip install textfx

or You can clone this repository and use the textfx.py file directly in your project:

git clone https://github.com/iliakarimi/textfx.git

Then, import the required functions in your Python script:

from textfx import typeeffect, falltext, scrameffect, wavetext, untypeeffect, unfalltext, unscrameffect, unwavetext

Usage

Below are examples of how to use each function:

Typing Effect

from textfx import typeeffect
typeeffect("Hello, world!", delay=0.1)

Scramble Effect

from textfx import scrameffect
scrameffect("Scrambled Text", delay=0.1)

Wave Text

from textfx import wavetext
wavetext("Wave Text", delay=0.1)

Untyping Effect

from textfx import untypeeffect
untypeeffect("Erasing Text", delay=0.1)

Unscramble Effect

from textfx import unscrameffect
unscrameffect("Glitching Away", delay=0.1)

Unwave Text

from textfx import unwavetext
unwavetext("Steadying Waves", delay=0.1)

Dependencies

  • Python 3.8

Contributing

Feel free to fork this repository and submit pull requests. Suggestions for new effects and improvements are always welcome!

License

This project is licensed under the MIT License. See the LICENSE file for details.


Enjoy using Textfx! Let your text come to life!

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

textfx-1.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

textfx-1.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file textfx-1.2.tar.gz.

File metadata

  • Download URL: textfx-1.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.6

File hashes

Hashes for textfx-1.2.tar.gz
Algorithm Hash digest
SHA256 e0312af6ac6fae12c862d7bdfd6614e70c24698baf9dcb352b5ae2ab45007fa5
MD5 20e397d529cbb02b290f1cc506457b8e
BLAKE2b-256 d966bdecd899b9afe952777db09375a58601a7b11d38297a1d02e2fee1a531c2

See more details on using hashes here.

File details

Details for the file textfx-1.2-py3-none-any.whl.

File metadata

  • Download URL: textfx-1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.6

File hashes

Hashes for textfx-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 951ca982f37797482c18cfd0695536e112d57e2e8caf423e42614d4405994c0c
MD5 2da72964fdd9a8990b2dd98c5c1c0d2b
BLAKE2b-256 c9338103eb8fb73a6f093026d0d7e6a9e65d3d71ff7a75182a62b850100fb766

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