Croniter

Latest version: v2.0.5

Safety actively analyzes 629765 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 12

0.3.35

-------------------

- Handle L in ranges. This fixes 142.
[kiorky]
- Add a new initialization parameter ``max_years_between_matches`` to support finding the next/previous date beyond the default 1 year window, if so desired. Updated README to include additional notes and example of this usage. Fixes 145.
[Kintyre]
- The ``croniter_range()`` function was updated to automatically determines the appropriate ``max_years_between_matches`` value, this preventing handling of the ``CroniterBadDateError`` exception.
[Kintyre]
- Updated exception handling classes: ``CroniterBadDateError`` now only
applies during date finding operations (next/prev), and all parsing errors can now be caught using ``CroniterBadCronError``. The ``CroniterNotAlphaError`` exception is now a subclass of ``CroniterBadCronError``. A brief description of each exception class was added as an inline docstring.
[Kintyre]
- Updated iterable interfaces to replace the ``CroniterBadDateError`` with ``StopIteration`` if (and only if) the ``max_years_between_matches`` argument is provided. The rationale here is that if the user has specified the max tolerance between matches, then there's no need to further inform them of no additional matches. Just stop the iteration. This also keeps backwards compatibility.
[Kintyre]
- Minor docs update
[Kintyre]

0.3.34

-------------------

- Feat ``croniter_range(start, stop, cron)``
[Kintyre]
- Optimization for poorly written cron expression
[Kintyre]

0.3.33

-------------------

- Make dateutil tz support more official
[Kintyre]
- Feat/support for day or
[田口信元]

0.3.32

-------------------

- document seconds repeats, fixes 122
[kiorky]
- Implement match method, fixes 54
[kiorky]
- Adding tests for 127 (test more DSTs and croniter behavior around)
[kiorky]
- Changed lag_hours comparison to absolute to manage dst boundary when getting previous
[Sokkka]

0.3.31

-------------------

- Fix get_next() when start_time less then 1s before next instant
[AlexHill]

0.3.30

-------------------

- credits

Page 8 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.