aws-croniter
A Python utility for AWS cron expressions. Validate and parse AWS EventBridge cron expressions seamlessly.
What it is and what it does
AWS Croniter is a Python library for working with AWS EventBridge cron expressions, which follow a different syntax than standard Unix cron. It validates expressions against AWS rules, parses them with detailed error messages, and computes schedule occurrences—including next/previous times, all occurrences in a date range, and conflicts between multiple schedules. The library handles AWS-specific syntax elements like the wildcard `?`, day-of-week aliases (SUN, MON, etc.), and month aliases (JAN, FEB, etc.).
You would use this when building AWS automation tools, scheduling systems, or applications that need to work programmatically with EventBridge cron rules. It combines validation and calculation in one package, eliminating the need to integrate separate tools. The single runtime dependency is python-dateutil, and it requires Python 3.10 or later.
Use it for:
- Validate AWS EventBridge cron expressions before deploying scheduled rules to avoid runtime failures.
- Calculate the next execution time of an EventBridge rule to show users when an event will trigger.
- Find all occurrences of a schedule within a date range for reporting or audit purposes.
- Detect scheduling conflicts between multiple EventBridge rules within a bounded time window.
- Build a cron expression builder or scheduler UI that needs to parse and interpret AWS cron syntax.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Parses, validates, and calculates occurrences of AWS EventBridge cron expressions, which differ from standard Unix cron syntax.
Yes. The package solves a specific, real problem (AWS cron expression handling) with low install friction, active maintenance, MIT licensing, and no known vulnerabilities. It's appropriate for any project that needs to work programmatically with EventBridge schedules.
Install
aws-croniter on PyPI
pip
pip install aws-croniteruv
uv add aws-croniterpoetry
poetry add aws-croniterInstalling aws-croniter
Before you install
Low install friction with a single runtime dependency (python-dateutil). Actively maintained with a recent release.
License in practice
MIT license permits commercial and private use with minimal restrictions—suitable for most projects.
Quickstart
from aws_croniter import AwsCroniter
from datetime import datetime, timezone
cron_expression = "0 12 15 * ? 2023"
aws_cron = AwsCroniter(cron_expression)
start_date = datetime(2023, 12, 14, tzinfo=timezone.utc)
next_occurrence = aws_cron.get_next(start_date)
print(next_occurrence)
Requires Python 3.10 or later.
Verify before relying
- Whether the library handles all AWS-specific cron syntax features (?, L, W, #) correctly in practice.
- Performance characteristics when computing conflicts between many schedules or large date ranges.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — python-dateutil |
| Maintenance | actively maintained — 66 days since the last release |
| First released | |
| Downloads | 94,460/month — #13,327 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws_croniter-2.1.1-py3-none-any.whl
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
cronitercroniter iterates over datetime objects using…
permissive · top 1,000 on PyPI
pyawscronParses and iterates over AWS CloudWatch cron…
permissive · top 15,000 on PyPI
aws-cron-expression-validatorValidates AWS EventBridge cron expressions,…
permissive · top 15,000 on PyPI
tzcronParse and iterate over cron/quartz schedule…
permissive · top 15,000 on PyPI
cron-validatorValidates Unix cron expressions, matches them…
permissive · top 5,000 on PyPI
cron-converterParses cron schedule strings into structured…
permissive · top 5,000 on PyPI
cronsimParses and evaluates cron expressions to find…
permissive · top 5,000 on PyPI
cron-schedule-triggersDetermines the next execution times of a…
permissive · top 15,000 on PyPI
pycronParses cron-style schedule strings and…
permissive · top 5,000 on PyPI
local-crontabConverts crontab expressions from a local…
permissive · top 15,000 on PyPI