Metadata-Version: 2.4
Name: cronwords
Version: 0.1.0
Summary: Explain a cron expression in plain English.
Author: episodely
License: MIT
Project-URL: Homepage, https://github.com/episodely/cronwords
Project-URL: Issues, https://github.com/episodely/cronwords/issues
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# cronwords

Explain a cron expression in plain English. Pure Python, no dependencies, offline.

```
$ python cronwords.py "0 9 * * MON-FRI"
at 09:00 on Monday through Friday

$ python cronwords.py "*/15 * * * *"
every 15 minutes

$ python cronwords.py "@daily"
at 00:00 every day
```

```python
from cronwords import explain
explain("0 0 1 1 *")   # 'at 00:00 on the 1st of the month in January'
```

Supports lists (`1,3,5`), ranges (`MON-FRI`), steps (`*/10`), month and day names, `7` as Sunday, and `@hourly`, `@daily`, `@weekly`, `@monthly`, `@yearly`. Five fields only (no seconds, no Quartz `L` or `#`). Invalid input raises `ValueError` and the CLI exits with 1.

When both day-of-month and day-of-week are set, standard cron runs on either match; the wording says "and on".

```
python -m pytest
```

MIT licensed.
