An open API service indexing awesome lists of open source software.

https://github.com/amarquaye/pywriter

👨‍💻Typewriter effect for python!
https://github.com/amarquaye/pywriter

console modules python pywriter terminal type typewriter

Last synced: 4 months ago
JSON representation

👨‍💻Typewriter effect for python!

Awesome Lists containing this project

README

        

# Pywriter

[![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)](https://www.python.org/)
[![Badge](https://img.shields.io/badge/python-3.x-color.svg)](https://www.python.org/downloads/)
[![PyPI](https://img.shields.io/pypi/v/pywriter.svg)](https://pypi.org/project/pywriter/)
[![Downloads](https://static.pepy.tech/badge/pywriter)](https://pepy.tech/project/pywriter)
[![GitHub](https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/amarquaye/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](https://pip.pypa.io/en/stable/) to install pywriter.

```bash
pip install pywriter
```

## Usage

```python
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

```python
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](https://user-images.githubusercontent.com/96346994/233510322-9397b5b3-8626-447a-9453-0e580beae656.gif)

## Contributing

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

## License

- [MIT](https://github.com/amarquaye/pywriter/blob/master/LICENSE)

## Authors

- [Jesse Amarquaye](https://www.github.com/amarquaye).

## Roadmap

- Adding more features soon.

## About Me

- 👨‍💻 All of my projects are available at [https://www.github.com/amarquaye](https://www.github.com/amarquaye).

- đź“« You can reach me via [mail](mailto:[email protected]).

Connect with me:



amarquaye
llordjesse
llordjesse
llordjesse

## Feedback

If you have any feedback, please reach out to [me](mailto:[email protected]).