{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/6"}],"enrichment":{"capability":"Parses cron schedule strings into structured formats and generates next/previous execution times for datetime objects using cron-like scheduling rules.","skillfed_tags":["scheduling","cron-parser","datetime-iterator"],"use_cases":["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' \u2192 '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."],"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.\n\nThe 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.","worth_installing":"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)."},"id":"cron-converter","links":{"html":"https://skillfed.io/packages/cron-converter","md":"https://skillfed.io/packages/cron-converter.md","pypi":"https://pypi.org/project/cron-converter/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-12-02","license_spdx":null,"license_treatment":"permissive","name":"cron-converter","python_support":"supports_current","summary":"Cron string parser and scheduler for Python"},"popularity":{"monthly_downloads":2390119,"position":3089,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.3.1"}
