interval-timer for python: Windows:waitabletimer wrapper, Linux:timerfd wrapper
Project description
interval-timer-python
overview
- interval timer library for python
- on Windows: Waitable Timer wrapper
- on Linux: timerfd wrapper
OS
- Windows & Linux
installation
python -m pip install interval-timer-python
usage
import interval_timer
INTERVAL_TIME_MS = 100
itimer = interval_timer.IntervalTimer()
itimer.settime(INTERVAL_TIME_MS)
while True:
print("Hello,World!")
itimer.wait() # periodic blocking
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for interval-timer-python-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0ec298ed266b3b30713699a827a8e56ee371e9cb2203cd7e4c4ef3c79187983 |
|
MD5 | cff39a9548b4458ab288b77e3606dbab |
|
BLAKE2b-256 | 523a9d1fce133eda317b223a75009915f08652e4535303bd782041e50fcf5933 |