Recur r105
Iterators for datetime objects.
The recur module provides iterators for datetime objects. Recurrence patterns can be provided in natural language strings like "every 3 days" or "Sept 14" (currently, only a English Locale is provided). For example, this code: d = recur.Recurrence(datetime.date(1999, 11, 28), "-5 each month") Will make "d" an iterator, producing datetime.date objects starting with datetime.date(1999, 12, 26), and then proceeding to the fifth-from-last date of each succeeding month.
The recur module now includes a Worker class, which spawns new threads as needed to accomplish recurring tasks. Subclass it and override its "work" method. You can set its "paused" and "terminated" attributes to True/False as needed to manage a recurring task.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| recur-r105-py2.4.egg (md5) | Python Egg | 2.4 | 2007-06-14 | 19KB | 1040 |
| recur-r105.tar.gz (md5) | Source | 2007-06-14 | 8KB | 1026 | |
- Author: Robert Brewer
- Maintainer: Elvelind Grandin
- Package Index Owner: elvelind
- DOAP record: Recur-r105.xml
