Skip to main content

aio-recurring

Recurring coroutines using asyncio

Usage:

import asyncio
from datetime import datetime

from aio_recurring.job import (
    recurring,
    run_recurring_jobs,
)


@recurring(every=5)
async def print_info_5():
    print(f"[{datetime.now()}] This coroutine is rescheduled every 5 seconds")


@recurring(every=10)
async def print_info_10():
    print(f"[{datetime.now()}] This coroutine is rescheduled every 10 seconds")


async def main():
    run_recurring_jobs()


if __name__ == '__main__':
    loop = asyncio.get_event_loop()
    loop.create_task(main())
    loop.run_forever()

Metadata

Release files for aio-recurring 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aio-recurring 0.1.2
File Size Uploaded Provenance
aio-recurring-0.1.2.tar.gz 2.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aio-recurring 0.1.2
File Interpreter ABI Platform
aio_recurring-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / aio-recurring-0.1.2.tar.gz

Download URL aio-recurring-0.1.2.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3536ea4b6d6c82217c11c08d8e14c8fc35a64bdf9523b5e023085727e026820f
BLAKE2b-256 checksum
How to use checksums
1a006bb068d534f0a25287c986765ff24d84990652e432b70a71c7386cdc6fde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.7.6 Darwin/20.3.0

Release files / aio_recurring-0.1.2-py3-none-any.whl

Download URL aio_recurring-0.1.2-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0fcdfa9dfdc1626b494280a14433e66b05cfc748cb18ff0b345908c4b94e3ac9
BLAKE2b-256 checksum
How to use checksums
c7caf27180d5563499a2fb51741c1df1b6a4087f80d7bdcc41ea485cdb8ff03f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.7.6 Darwin/20.3.0

Security for aio-recurring 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page