$npx skillfedfor your agent

cron-converter

Cron string parser and scheduler for Python

Worth itPyPI Python ModulesReleased Dec 20252.4M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cron_converter-1.3.1-py3-none-any.whl
v1.3.1 · released 2025-12-02 · Python >=3.8 · 1 runtime deps: python-dateutil

Yes. Low install friction, active maintenance, no known vulnerabilities, and a permissive MIT license make this a safe choice. Install it if you need to parse cron expressions, iterate over scheduled times, or validate datetimes against cron rules. The single dependency on python-dateutil is stable and widely used. Avoid it only if you need sub-minute scheduling (cron-converter does not support seconds).AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later; schedule iterator is infinite—always use itertools.islice() or explicit break conditions to avoid hanging.
  • Low friction: pure Python wheel with a single runtime dependency on python-dateutil.
  • Actively maintained with recent commits and stable production status.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects without restriction.

last release 2025-12-02 (255 days) · last repo commit 2026-08-11 · 48 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,390,119 downloads/mo, #3,089 on PyPI

Verify before relying

from cron_converter import Cron
from datetime import datetime

cron = Cron('*/5 * * * *')
schedule = cron.schedule(datetime.now())
next_time = schedule.next()
print(next_time.isoformat())
  • Whether timezone handling works correctly with all dateutil-supported timezone formats beyond the documented examples.
  • Performance characteristics when iterating over large numbers of schedule occurrences.
Same gist for agents: .md · .json

What it is and what it does

Cron-converter is a Python cron expression parser and scheduler that converts between cron string syntax and structured representations, then generates execution times. It parses standard 5-field cron expressions (minute, hour, day, month, weekday) into lists of valid values or back to string form, and provides an iterator to find the next or previous execution time relative to any datetime. The package supports timezone-aware scheduling via python-dateutil, optional output formatting with month and weekday names, and can validate whether a given datetime matches a cron schedule.

The package implements Python's iterator protocol, so you can use standard iteration patterns like islice() or for-loops to walk through scheduled execution times. It also supports comparing cron schedules by frequency and can work with both naive and timezone-aware datetime objects. The main constraint is that the schedule iterator is infinite by design, so you must always apply a limit (islice, break condition, or date check) to avoid infinite loops.

Use it for

  • Build a job scheduler that finds the next N execution times for a cron-defined task without external dependencies.
  • Validate user-provided cron expressions and check if a specific datetime falls within the schedule.
  • Convert between cron string syntax and human-readable formats (e.g., '0 9 * * 1-5' → '9 AM weekdays').
  • Compare scheduling frequencies to determine which cron expression runs more or less often.
  • Generate execution time sequences for reporting or UI display, respecting timezone and DST rules.

Worth the install?

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

Worth it

Yes.

Low install friction, active maintenance, no known vulnerabilities, and a permissive MIT license make this a safe choice. Install it if you need to parse cron expressions, iterate over scheduled times, or validate datetimes against cron rules. The single dependency on python-dateutil is stable and widely used. Avoid it only if you need sub-minute scheduling (cron-converter does not support seconds).

Install

cron-converter on PyPI

Before you install

Low friction: pure Python wheel with a single runtime dependency on python-dateutil. Actively maintained with recent commits and stable production status.

Requires Python 3.8 or later; schedule iterator is infinite—always use itertools.islice() or explicit break conditions to avoid hanging.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects without restriction.

Quickstart

from cron_converter import Cron
from datetime import datetime

cron = Cron('*/5 * * * *')
schedule = cron.schedule(datetime.now())
next_time = schedule.next()
print(next_time.isoformat())

Verify before relying

  • Whether timezone handling works correctly with all dateutil-supported timezone formats beyond the documented examples.
  • Performance characteristics when iterating over large numbers of schedule occurrences.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
python-dateutil
MaintenanceActively maintained 255 days since the last release
Last repo commit
First released
Downloads2,390,119 / month, #3,089 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 :: DevelopersIntended Audience :: System AdministratorsOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Software Development :: Libraries :: Python Modules

Evidence: cron_converter-1.3.1-py3-none-any.whl

Tags

Capabilities
cron schedule parsercron expression to datetimenext cron execution timecron string validatorschedule iterator croncron frequency comparisonparse cron syntax
Topics
schedulingcron-parserdatetime-iterator

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 string validator”

  • cron-converterParses cron schedule strings into structured formats and generates…
  • quartz-cron-checkerValidates Quartz-style cron expressions against the full Quartz…
  • cronsimParses and evaluates cron expressions to find matching execution…

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 cron-validator · local-crontab · pycron · croniter · cron-schedule-triggers · tzcron · cronsim · aws-croniter · cron-descriptor · crontab