Random timeout between minimum and maximum values
Project description
Timeout
Random timeout between minimum and maximum values
pip install python-timeout
from timeout import timeout
timeout(10, 20) # Random timeout between 10 and 20 seconds
timeout(60, 120) # Random timeout between one minute (60 seconds) and two minutes (120 seconds)
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
python-timeout-1.tar.gz
(1.5 kB
view details)
File details
Details for the file python-timeout-1.tar.gz
.
File metadata
- Download URL: python-timeout-1.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab7177f45af83a61780dd9c065e73b6c48cc76fcb3b2c01b56fe564797bbf010 |
|
MD5 | 7376b52de2a0dd6489f1e9f2b0d0324d |
|
BLAKE2b-256 | b43671d549560abe76ae23e209e24b7dfe5de0565340ed85d88d8f2159fca756 |