Schedule asyncio coroutines
Project description
every - Schedule asyncio coroutines
How to use
every(5 * minutes)(do_something)
every(other * day)(do_something)
every(minute).starting_at(hour=12, minute=15)(do_something)
Example
import asyncio
from every import *
async def do_something():
print("Hello")
every(2 * seconds)(do_something)
loop = asyncio.get_event_loop()
loop.run_forever()
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
everytime-0.1.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for everytime-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3efd7ab248eb4b6d98a910e4b1246334d572aca973c9042a277513730ff214c9 |
|
MD5 | f9cafb81edcc6697b9f527d1dc0841dd |
|
BLAKE2b-256 | 9e4d96f7e2dad5856beb5e01eb1f6922b772c19b72d85594fe847377628f3d6d |