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 details)
Built Distribution
File details
Details for the file sleepchunk-0.10.tar.gz
.
File metadata
- Download URL: sleepchunk-0.10.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee24a9bf293b77304e9eede80966887e3d11faca30b78d8d104f87f4a09caccd |
|
MD5 | 0fb38f964002e7602d1700f436aabbe7 |
|
BLAKE2b-256 | 47399a8dfe404af2694ba73e181b70d49dc8bc0087b03713a3559d9315262b46 |
File details
Details for the file sleepchunk-0.10-py3-none-any.whl
.
File metadata
- Download URL: sleepchunk-0.10-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | caa77e6fd7dd25ba25cb9984bc406c25e99986f589da2c0c26ce50ab720d45e8 |
|
MD5 | ceaa31687322f8f87ed981621dc7d193 |
|
BLAKE2b-256 | af40ae71fdb0bc496169bb7f0e7c969a296568792e2eaf574166542f53c1856f |