Timeout
Random timeout between minimum and maximum values
Installation:
pip install python-timeout
Usage:
from timeout import random_timeout, sleep_for
random_timeout(10, 20) # Random timeout between 10 and 20 seconds
random_timeout(60, 120) # Random timeout between one minute (60 seconds) and two minutes (120 seconds)
sleep_for(5) # Sleep for five minutes
sleep_for(15) # Sleep for fifteen minutes
Metadata
Release files for python-timeout 3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-timeout-3.tar.gz | 1.7 kB | Without provenance | Details for python-timeout-3.tar.gz |
Release files / python-timeout-3.tar.gz
| Download URL | python-timeout-3.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c60deee91f18056e78db1d9fd72b52f2075bb01e798960c404115e234bb1891f
|
|
BLAKE2b-256 checksum How to use checksums |
f9c504ca08779ecaf228b6cc260cb99aab4bdd0c7ad78b91f4d260ce8492772c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.9
|
Security for python-timeout 3
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.