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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7668fb2b97ff20185ab5a946080be3d58844a9188700d36a4228beaf803a36a4 |
|
MD5 | 6f146388a8bd83072d02774ddbe873cb |
|
BLAKE2b-256 | f10882ea71142b3a5c287008cce7814ebf472e69239a3fcc53646f403da0418c |