A print funtion that slowly shows the output in console in real time
Project description
Snail Print
This library includes a print funtion that slowly shows the output in console in real time.
Moreover, every console log in this video was made with the library and with this file
Getting started
Install the library with:
pip install -U snail_print
Usage
Video 1: Example of use of this real life print library
Documentation
snail_print
function snail_print(*objects, delay=0.1, sep=" ", end="\n", flush=False)
Parameters
objects
: Can be any python object.
The object wicth will be printed slowly in real time.
delay
:float
orint
, default0.1
.
The time between the addition in console of the next character.
sep
:str
, default" "
.
In case of having mutiple arguments this may be separated by this string.
end
:str
, default"\n"
.
The final character of the print. By default creates a new line.
Testing
Run the test suite with:
python -m unittest tests
Install Local
To install it locally from the source code:
python setup.py develop
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
Built Distribution
Hashes for snail_print-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3497975d6f3b9007bc5949535cf69276f9f006f7e2a398541af1035ed6cc9c29 |
|
MD5 | 0f16c621c93011500cb978a879163a81 |
|
BLAKE2b-256 | 38fa9462f2dffe2cfb127a1bb92a736775e4c1210d5d930e03d789a708d3b730 |