Sleeps in chunks of 0.05 seconds (with status bar) / ctrl+c to exit without throwing an Exception
Project description
Sleeps in chunks of 0.05 seconds / ctrl+c to exit without throwing an Exception / status bar
# Tested with:
# Python 3.9.13
# Windows 10
pip install sleepchunk
from sleepchunk import sleep, sleep_with_statusbar, sleep_random
sleep(secs=3)
sleep_with_statusbar(maxrange=10) # [======] 6 / 10
sleep_random(start=2, end=3, with_statusbar=False)
sleep_random(start=2, end=3, with_statusbar=True)
sleep(secs=0)
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
sleepchunk-0.10.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for sleepchunk-0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caa77e6fd7dd25ba25cb9984bc406c25e99986f589da2c0c26ce50ab720d45e8 |
|
MD5 | ceaa31687322f8f87ed981621dc7d193 |
|
BLAKE2b-256 | af40ae71fdb0bc496169bb7f0e7c969a296568792e2eaf574166542f53c1856f |