aiocall
The missing call methods for python asyncio.
I found that python asyncio is lacking some basic methods to invoke calls:
call_soon_periodic(interval, callback, *args)
call_later_periodic(delay, interval, callback, *args)
This module provides these methods.
Example:
import asyncio
import aiocall
def do_something(what):
print('doing', what)
timer = aiocall.call_later_periodic(0.5, 1.0, do_something, 'stuff')
loop = asyncio.get_event_loop()
loop.call_later(4.0, timer.cancel)
loop.call_later(5.0, loop.stop)
loop.run_forever()
loop.close()
Output:
doing stuff doing stuff doing stuff doing stuff
Metadata
Release files for aiocall 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| aiocall-0.2.tar.gz | 2.7 kB | Without provenance | Details |
Release files / aiocall-0.2.tar.gz
| Download URL | aiocall-0.2.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98ee66d13bbe584a7dd99880c618b8bfbd410df5083a66eca62282b541746f3e
|
|
BLAKE2b-256 checksum How to use checksums |
44bff0a112c7a82c6c7382f9f8e7f0a891ac377a475ff1a86c6a6cad2e40f8e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for aiocall 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.