Skip to main content

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)

Metadata

Release files for sleepchunk 0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sleepchunk 0.10
File Size Uploaded Provenance Actions
sleepchunk-0.10.tar.gz 3.3 kB Without provenance Details for sleepchunk-0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sleepchunk 0.10
File Interpreter ABI Platform Actions
sleepchunk-0.10-py3-none-any.whl Python 3 none any Details for sleepchunk-0.10-py3-none-any.whl

Total release size: 7.9 kB

Release files / sleepchunk-0.10.tar.gz

Download URL sleepchunk-0.10.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ee24a9bf293b77304e9eede80966887e3d11faca30b78d8d104f87f4a09caccd
BLAKE2b-256 checksum
How to use checksums
47399a8dfe404af2694ba73e181b70d49dc8bc0087b03713a3559d9315262b46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / sleepchunk-0.10-py3-none-any.whl

Download URL sleepchunk-0.10-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
caa77e6fd7dd25ba25cb9984bc406c25e99986f589da2c0c26ce50ab720d45e8
BLAKE2b-256 checksum
How to use checksums
af40ae71fdb0bc496169bb7f0e7c969a296568792e2eaf574166542f53c1856f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for sleepchunk 0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page