pyawscron
An AWS Cron Parser
Decision gist · record as of 2026-08-14
Yes, if you need to parse AWS cron expressions in Python. The package is stable, has no known vulnerabilities, and carries a permissive license. However, maintenance is dormant—no updates since the last commit in August 2024—so it will not receive fixes for new AWS cron features or Python compatibility issues. Use it for read-only cron parsing and scheduling queries; do not rely on it for active feature development.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later.
- Low install friction with a single runtime dependency (python-dateutil).
- Maintenance is dormant—last commit was 2024-08-14 but no releases since then; the package is stable but unlikely to receive updates for new AWS cron features or Python versions.
License · maintenance · safety
permissive license (permissive) — BSD License (permissive). You can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
last release 2024-08-14 (730 days) · last repo commit 2024-08-14 · 12 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 797,038 downloads/mo, #5,032 on PyPI
Alternatives
Verify before relying
from pyawscron import AWSCron
import datetime
aws_cron = AWSCron("0 5 4 * ? *")
dt = datetime.datetime(2021, 8, 7, 8, 30, 57, tzinfo=datetime.timezone.utc)
result = AWSCron.get_next_n_schedule(10, dt, "0/23 * * * ? *")- Whether the package correctly handles all AWS cron wildcard edge cases (L, W, # in day fields) in practice.
- Performance characteristics when querying large date ranges or high-frequency schedules.
- Compatibility with recent AWS CloudWatch cron expression updates or format changes.
What it is and what it does
Pyawscron is a Python port of an AWS cron expression parser that interprets CloudWatch cron syntax and calculates matching UTC datetimes. It supports the full AWS cron field syntax—minutes, hours, day-of-month, month, day-of-week, and year—with all standard wildcards including the AWS-specific ones (L for last day, W for weekday, # for nth occurrence). The package depends only on python-dateutil for datetime handling.
You use it by instantiating an AWSCron object with a cron expression string, then calling methods to find the next or previous occurrence from a given datetime, or to fetch all matching times within a date range. It offers both iterative methods (next/prev) for memory-efficient streaming and batch methods (get_all_schedule_bw_dates, get_next_n_schedule, get_prev_n_schedule) for retrieving multiple results at once.
Use it for
- Calculate when an AWS EventBridge or CloudWatch scheduled rule will next trigger from a given time.
- Audit or verify the execution schedule of existing AWS cron expressions in your infrastructure.
- Generate a list of upcoming scheduled event times for display in a dashboard or report.
- Test cron expressions locally before deploying them to AWS CloudWatch or EventBridge.
- Backfill or replay historical scheduled events by finding all occurrences in a past date range.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to parse AWS cron expressions in Python.
The package is stable, has no known vulnerabilities, and carries a permissive license. However, maintenance is dormant—no updates since the last commit in August 2024—so it will not receive fixes for new AWS cron features or Python compatibility issues. Use it for read-only cron parsing and scheduling queries; do not rely on it for active feature development.
Install
pyawscron on PyPI
Before you install
Low install friction with a single runtime dependency (python-dateutil). Maintenance is dormant—last commit was 2024-08-14 but no releases since then; the package is stable but unlikely to receive updates for new AWS cron features or Python versions.
Requires Python 3.6 or later.
License in practice
BSD License (permissive). You can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
Quickstart
from pyawscron import AWSCron
import datetime
aws_cron = AWSCron("0 5 4 * ? *")
dt = datetime.datetime(2021, 8, 7, 8, 30, 57, tzinfo=datetime.timezone.utc)
result = AWSCron.get_next_n_schedule(10, dt, "0/23 * * * ? *")
Verify before relying
- Whether the package correctly handles all AWS cron wildcard edge cases (L, W, # in day fields) in practice.
- Performance characteristics when querying large date ranges or high-frequency schedules.
- Compatibility with recent AWS CloudWatch cron expression updates or format changes.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepython-dateutil |
| Maintenance | Dormant 730 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 797,038 / month, #5,032 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: pyawscron-1.0.7-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “cloudwatch schedule calculator”
- pyawscronParses and iterates over AWS CloudWatch cron expressions to find…
- cronsimParses and evaluates cron expressions to find matching execution…
- crontabParses crontab schedule expressions and calculates the delay in…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also aws-croniter · tzcron · croniter · aws-cron-expression-validator · pycron · snaptime · cron-validator · cronex · cronsim · cron-converter