{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/13"}],"enrichment":{"capability":"Schedules async functions to run on cron schedules within asyncio event loops, supporting standard crontab syntax with optional second-level precision.","skillfed_tags":["asyncio","scheduling","cron"],"use_cases":["Schedule periodic cleanup or maintenance tasks in long-running async services without spawning background threads.","Run async database queries or API calls on a fixed schedule within an event-driven application.","Implement time-based alerts or notifications that trigger at specific hours/days without blocking other coroutines.","Coordinate batch processing jobs across multiple async tasks using cron timing rules.","Wait for the next occurrence of a specific time (e.g., next hour) within an async workflow."],"what_it_does":"aiocron brings crontab scheduling to asyncio applications by providing a decorator and object interface for running async functions on cron schedules. It parses standard crontab expressions (with optional seconds) and integrates directly into the asyncio event loop, allowing you to schedule periodic tasks without blocking.\n\nThe package depends on cronsim, python-dateutil, and tzlocal to handle cron expression parsing and timezone-aware scheduling. It supports three usage patterns: a decorator that auto-starts, a decorator with manual start/stop control, and an awaitable interface for one-off scheduled waits. The underlying cron syntax is delegated to croniter, so any expression croniter supports will work here.","worth_installing":"Yes, if you need cron scheduling in an asyncio application and accept the aging maintenance status. The package is stable (Production/Stable classifier), has no known vulnerabilities, low install friction, and covers a specific niche well. Not recommended if you require active development or frequent updates; consider it suitable for stable, non-critical scheduling in mature codebases."},"id":"aiocron","links":{"html":"https://skillfed.io/packages/aiocron","md":"https://skillfed.io/packages/aiocron.md","pypi":"https://pypi.org/project/aiocron/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-02-14","license_spdx":null,"license_treatment":"permissive","name":"aiocron","python_support":"supports_current","summary":"Crontabs for asyncio"},"popularity":{"monthly_downloads":325686,"position":7584,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1"}
