$npx skillfedfor your agent

cronsim

Cron expression parser and evaluator

Worth itPyPI Python ModulesReleased Oct 202514.7M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cronsim-2.7-py3-none-any.whl
v2.7 · released 2025-10-21 · Python >=3.10

Yes. CronSim is a focused, well-maintained library with zero dependencies, permissive licensing, and no known vulnerabilities. Install it if you need to parse or evaluate cron expressions in Python—particularly if you require Debian cron compatibility or advanced features like last-day-of-month matching. The aging maintenance status is not a concern given the stable, narrow scope of the package.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction: pure Python wheel with no runtime dependencies.
  • Maintenance is aging (297 days since last release), but the package is marked Production/Stable and the repository remains active with recent commits.

License · maintenance · safety

permissive license (permissive) — Permissive license (BSD) means you can use, modify, and redistribute the package with minimal restrictions, typical for open-source libraries.

last release 2025-10-21 (297 days) · last repo commit 2025-10-21 · 81 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 14,674,924 downloads/mo, #1,219 on PyPI

Verify before relying

from datetime import datetime
from cronsim import CronSim

it = CronSim("0 0 * 2 MON#5", datetime(2020, 1, 1))
for x in range(0, 5):
    print(next(it))
  • Whether the package's DST handling matches your timezone library's behavior in edge cases.
  • Performance characteristics when iterating over very long time ranges or complex expressions.
Same gist for agents: .md · .json

What it is and what it does

CronSim is a cron expression parser and evaluator that takes a cron schedule string and a starting datetime, then generates the sequence of datetimes when that schedule would execute. It's designed to match Debian's cron implementation closely, including its handling of Daylight Saving Time transitions and quirky edge cases. The package prioritizes correctness over feature breadth, implementing only the syntax that its primary user (the Healthchecks monitoring service) requires.

You instantiate a CronSim object with an expression and a datetime, then iterate forward or backward through matching times using Python's iterator protocol. It supports standard five-field cron syntax plus an optional sixth field for seconds, and several non-standard extensions like "L" for last-day-of-month, "LW" for last-weekday, and "MON#5" for nth-weekday-of-month. Invalid expressions raise CronSimError; expressions with no match within 50 years raise StopIteration. Starting from version 2.4, it includes an explain() method to generate human-readable descriptions of expressions.

Use it for

  • Calculate upcoming execution times for a cron job to display in a monitoring dashboard or alert system.
  • Validate cron expressions and provide user-friendly error messages when syntax is invalid.
  • Iterate backward in time to find when a job last ran, for audit or debugging purposes.
  • Generate a text description of a cron schedule for documentation or UI display.
  • Handle DST transitions correctly when scheduling jobs across timezone boundaries.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

CronSim is a focused, well-maintained library with zero dependencies, permissive licensing, and no known vulnerabilities. Install it if you need to parse or evaluate cron expressions in Python—particularly if you require Debian cron compatibility or advanced features like last-day-of-month matching. The aging maintenance status is not a concern given the stable, narrow scope of the package.

Install

cronsim on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Maintenance is aging (297 days since last release), but the package is marked Production/Stable and the repository remains active with recent commits.

Requires Python 3.10 or later.

License in practice

Permissive license (BSD) means you can use, modify, and redistribute the package with minimal restrictions, typical for open-source libraries.

Quickstart

from datetime import datetime
from cronsim import CronSim

it = CronSim("0 0 * 2 MON#5", datetime(2020, 1, 1))
for x in range(0, 5):
    print(next(it))

Verify before relying

  • Whether the package's DST handling matches your timezone library's behavior in edge cases.
  • Performance characteristics when iterating over very long time ranges or complex expressions.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 297 days since the last release
Last repo commit
First released
Downloads14,674,924 / month, #1,219 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: cronsim-2.7-py3-none-any.whl

Tags

Capabilities
cron expression parsercron schedule evaluatorcrontab expression matcherjob scheduling time calculatorcron syntax validator
Topics
cron-schedulingtime-expression-parsing
PyPI keywords
croncronjobcrontabschedule

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 › “cron schedule evaluator”

  • cronsimParses and evaluates cron expressions to find matching execution…
  • cron-schedule-triggersDetermines the next execution times of a Quartz-syntax cron schedule…
  • tzcronParse and iterate over cron/quartz schedule expressions with timezone…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also cronex · crontab · cron-validator · croniter · quartz-cron-checker · cron-converter · aws-cron-expression-validator · pycron · aws-croniter · pyawscron