Skip to main content

Typewriter effect for python

Project description

Pywriter

Pywriter is a Python module for printing text to your console or terminal in the classic typewriter effect.

Installation

Use the package manager pip to install pywriter.

pip install pywriter

Usage

import pywriter

# returns 'Hello World!' character by character at the rate of one character per second
pywriter.write('Hello World!', rate=1)

# Let's introduce my latest features
pywriter.writer('Hello World!', rate=1)
pywriter.typewriter('Hello World!', new="Jesse", idx=6, rate=1)



# You can decide to exclude the rate argument.
# That will print out your text at the default rate of 0.1

Alternate Usage

from pywriter import write, writer, typewriter

# returns 'Hello World!' character by character at the rate of one character per second
write('Hello World!', rate=1)

# Let's introduce my latest features
writer('Hello World!', rate=1)
typewriter('Hello World!', new="Jesse", idx=6, rate=1)


# However, it is recommended that you use pywriter.write
#instead of using the write function directly.
# Since this will help prevent any conflict in case there
#is another python module which also has a write function.

Demo

ui_glow_up


Changelog

v1.0.0 (29/06/2023)

Feature

  • First major update of pywriter
  • Added function to print output with typewriter effect in reverse. The name of this new function is writer.
  • Also added function to print output with typewriter effect. In a way that it deletes some part of the text to some index and prints another text to replace the previous text. And name of my most recent and favourite function is typewwriter.

v0.1.1 (21/04/2023)

Feature

  • First minor update of pywriter
  • Added compatibility with terminal and any console.

Fix

  • Fixed issue with windows cmd waiting for the entire program to run before output in seen.

v0.0.1 (15/04/2023)

  • First release of pywriter

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

AGPL v3.0

Authors

Roadmap

  • Add more integrations.

About Me

Connect with me:

llordjesse amarquaye llordjesse llordjesse

Feedback

If you have any feedback, please reach out to us at jesseamarquayelegendary@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pywriter-1.0.0-py3-none-any.whl (15.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page