--- id: croniter version: "6.2.4" license: MIT license_treatment: permissive maintenance: active --- # croniter — croniter provides iteration for datetime object with cron like format License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install croniter uv add croniter poetry add croniter ## Description Introduction ============ .. contents:: croniter provides iteration for the datetime object with a cron like format. :: _ _ ___ _ __ ___ _ __ (_) |_ ___ _ __ / __| '__/ _ \| '_ \| | __/ _ \ '__| | (__| | | (_) | | | | | || __/ | \___|_| \___/|_| |_|_|\__\___|_| Website: https://github.com/pallets-eco/croniter Build Badge =========== .. image:: https://github.com/pallets-eco/croniter/actions/workflows/cicd.yml/badge.svg :target: https://github.com/pallets-eco/croniter/actions/workflows/cicd.yml Pallets Community Ecosystem =========================== .. important:: This project is part of the Pallets Community Ecosystem. Pallets is the open source organization that maintains Flask; Pallets-Eco enables community maintenance of Flask extensions. If you are interested in helping maintain this project, please reach out on the `Pallets Discord server `_. Usage ============ A simple example:: >>> from croniter import croniter >>> from datetime import datetime >>> base = datetime(2010, 1, 25, 4, 46) >>> iter = croniter('*/5 * * * *', base) # every 5 minutes... ## AI interpretation — verify before relying croniter iterates over datetime objects using cron expression syntax, calculating next and previous occurrences of scheduled times. It supports standard cron fields plus extensions like last-day-of-month and nearest-weekday matching. Verdict: croniter is a well-maintained, actively developed library with zero known vulnerabilities and minimal dependencies. Its MIT license and low install friction make it suitable for production scheduling tasks. The package is part of the Pallets Community Ecosystem and supports current Python versions (3.9–3.13). [View on SkillFed](https://skillfed.io/packages/croniter) · [View on PyPI](https://pypi.org/project/croniter/)