Skip to main content

Simple module to display a text with a time interval between each characters.

Project description

Copyright (c) 2020 Ronaldo Augusto Vasques de Souza

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Description: #Slowprint

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:

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

Platform: UNKNOWN Classifier: Programming Language :: Python :: 3 Classifier: License :: OSI Approved :: MIT License Classifier: Environment :: Console Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: Operating System :: Microsoft :: Windows :: Windows 10 Classifier: Operating System :: MacOS Classifier: Operating System :: POSIX Classifier: Topic :: Terminals Classifier: Topic :: System :: Shells Classifier: Topic :: Software Development :: Libraries Classifier: Topic :: Desktop Environment Requires-Python: >=3.0 Description-Content-Type: text/markdown

Project details


Download files

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

Source Distribution

slprint-pkg-1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slprint_pkg-1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file slprint-pkg-1.0.tar.gz.

File metadata

  • Download URL: slprint-pkg-1.0.tar.gz
  • Upload date:
  • Size: 2.9 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

Hashes for slprint-pkg-1.0.tar.gz
Algorithm Hash digest
SHA256 8b7857d7847c3b737da2ba2b47af674337712d8698b17e2e9f8d05b6b83270d7
MD5 2c6de01fbf5461253e16e7a19bb74d5e
BLAKE2b-256 a2eb06db5f5f20f7732cf90779881ce0920266cfd75d0639cb9b9bfc3f0cef30

See more details on using hashes here.

File details

Details for the file slprint_pkg-1.0-py3-none-any.whl.

File metadata

  • Download URL: slprint_pkg-1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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

Hashes for slprint_pkg-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f029294c308635262cc704e7dc82d76e707c1f8ccfd5239d69e2615ffd45b79
MD5 da705e6d6cf56f1a0041d843947d2eec
BLAKE2b-256 a21c871de9df80a776feb5202bd54c323104b062437a37ed84176d2430c4bb9e

See more details on using hashes here.

Supported by

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