Metadata-Version: 2.1
Name: cronwhen
Version: 0.2
Summary: A library computing next occurrence of a cron pattern
Home-page: https://github.com/Silverspur/cronwhen
Author: Charles Lumet
Author-email: charles.lumet@gmail.com
License: GNU General Public License v3.0
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Topic :: System
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE

# cronwhen

Python package to compute next execution date of a cron expression.

```
# Simple example:

import datetime
from cronwhen import cronwhen

base_point = datetime.datetime(2019,10,3,12,49)

expression = cronwhen.CronExpression('59 10-20/3 1,2,6 * *')
expression.get_next_occurrence(base_point)
# --> datetime.datetime(2019,10,6,10,59)
```


