skillfed

tzcron

Timezone aware Cron/Quartz parser

tzcron v1.0.0 198.4K downloads/30d#9,733 on PyPI20
Permissive license Apache Abandoned released

What it is and what it does

tzcron is a library for parsing cron and quartz schedule expressions and iterating over their next occurrence times while respecting timezone information. You define a schedule by passing a cron expression string and a timezone object, then call next() on the resulting Schedule object to get successive datetime instances when that schedule fires.

The package is designed for scenarios where you need to compute future execution times for a cron-like schedule in a timezone-aware context. It wraps the scheduling logic into an iterable interface, making it straightforward to generate a sequence of upcoming times. The library has been abandoned since its initial 1.0.0 release in September 2016, with no subsequent maintenance or updates.

Use it for:

  • Generate upcoming execution times for a cron job in a specific timezone for logging or UI display.
  • Build a timezone-aware task scheduler that needs to compute when a cron expression will next fire.
  • Validate or preview cron/quartz expressions by iterating over their next few occurrences.
  • Coordinate scheduled tasks across multiple timezones by computing local occurrence times.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Parse and iterate over cron/quartz schedule expressions with timezone awareness, yielding the next occurrence times.

No. The package is abandoned (last release 2016-09-25, repository archived) with no maintenance path forward. While it has low install friction and a permissive license, its age and lack of updates mean it will not receive bug fixes, security patches, or compatibility updates for modern Python versions.

Install

tzcron on PyPI

pip

pip install tzcron

uv

uv add tzcron

poetry

poetry add tzcron

Installing tzcron

Before you install

Low friction installation with no runtime dependencies. However, the package is abandoned—last release was 2016-09-25 and the repository is archived. No maintenance or updates are expected.

License in practice

Licensed under Apache (permissive), which allows commercial and private use with minimal restrictions.

Quickstart

pip install tzcron

import tzcron
schedule = tzcron.Schedule("* * * * * *", timezone_obj)
next_time = next(schedule)

Requires a timezone object; the fact sheet does not specify which timezone library is expected or whether it is declared as a dependency.

Verify before relying

  • Whether pytz is a runtime dependency or only a documentation example (fact sheet lists zero runtime deps but usage example imports pytz)
  • Compatibility with Python versions beyond 3.5 (classifiers list only up to 3.5; current Python ecosystem has moved significantly forward)
  • Whether the cron/quartz expression syntax is fully compatible with standard implementations

Package facts

License Apache (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance abandoned — 3,610 days since the last release
Last repo commit (repository archived)
First released
Downloads 198,363/month — #9,733 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: tzcron-1.0.0-py2.py3-none-any.whl

Keywords: cron

Development Status :: 4 - BetaDevelopment Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5

Tags

cron expression parsertimezone aware schedulingquartz schedule iteratorcron next occurrencetimezone cron parser
schedulingtimezone-awareabandoned

More Software Development packages