Skip to content

amarquaye/pywriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 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.writer('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.035

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

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:

amarquaye llordjesse llordjesse llordjesse

Feedback

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

Releases

No releases published

Packages

No packages published

Languages