Skip to content

amarquaye/pywriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pywriter

Python Badge PyPI Downloads GitHub

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 as pw


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

# Let's introduce my latest features
pw.reverse('Hello World!', rate=1)
pw.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.01

Alternate Usage

from pywriter import write, reverse, 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
reverse('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

Contributing

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

License

Authors

Roadmap

  • Adding more features soon.

About Me

Connect with me:

Connect on linkedin Connect on reddit

Feedback

If you have any feedback, please reach out to me.

Disclaimer

Pywriter is provided as-is and does not require frequent updates. While it remains functional and usable, future updates will be made only if necessary. If you find the project useful but notice a lack of recent activity, this does not mean it is abandoned. Contributions are welcome via pull requests.