Skip to content

Random timeout between minimum and maximum values

Notifications You must be signed in to change notification settings

xjxckk/python-timeout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b0a0c9d · Mar 7, 2022

History

25 Commits
Mar 7, 2022
Mar 7, 2022
Mar 7, 2022
Mar 7, 2022
Mar 7, 2022

Repository files navigation

Timeout

Random timeout between minimum and maximum values

Installation: pip install python-timeout

Usage:

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)

About

Random timeout between minimum and maximum values

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages