Simple module to display a text with a time interval between each characters.
Project description
This is simple module that objective is displays a animated text on the terminal.
The module has only one function called slowprint () that imposes
a fixed time interval between the display of each character. The
display can be vertically or horizontally.
The text can also be displayed in the yoyo mode where after the last
character is displayed the text is removed regressively by means of a
fixed interval of time between the deletion of each character.
Use:
>>>from slprint.slowprint import slowprint
>>>
>>>slowprint ("Hello World my friend.", delay = 0.05, yoyo = True, vertical = True)
>>>slowprint ("Hello World my friend.", delay = 0.05, yoyo = True, vertical = False)
>>>slowprint ("Hello World my friend.", delay = 0.05, yoyo = False, vertical = True)
>>>slowprint ("Hello World my friend.", delay = 0.05, yoyo = False, vertical = False)
Parameters:
text
The text to be displayed on the terminal.
delay
The time in seconds between the display of each character. Default is
0.2 seconds.
yoyo
If True after displaying the last character, it begins to remove
character by character regressively. Default is False.
vertical
If True displays the text vertically, if False displays the text
horizontally. Default is False.
Copyright (c) 2020 Ronaldo Augusto Vasques de Souza
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
slprint11-pkg-1.1.tar.gz
(2.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file slprint11-pkg-1.1.tar.gz.
File metadata
- Download URL: slprint11-pkg-1.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c06ff5e8feb5b913fe834e7f5803c377fab7d335549e8277d1217fcea007e7cd
|
|
| MD5 |
af1afcd0226fbe1c640765c32352dbee
|
|
| BLAKE2b-256 |
9ffbed3b80f929ba22402b2fa55731a7a475615fe551ace8c522582bc5f6cb71
|
File details
Details for the file slprint11_pkg-1.1-py3-none-any.whl.
File metadata
- Download URL: slprint11_pkg-1.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18c82a73c9a7f1398487ff644121953ce5aabc9b4747f04b2cff63cfaaf06fa5
|
|
| MD5 |
f56f463ed69a22f1733987d147458aa0
|
|
| BLAKE2b-256 |
447c22d05bdf62c9ea63bfd830bff59edcc8cc233889b8584f9a4ca334147c49
|