Skip to main content

Scheduling for humans

Project description

Tzolk'in: Scheduling for Humans™

tsolkin is a python scheduler based on cron, schedule, snaptime, and maya.

F.A.Q.

What's with the name?

The Tzolk'in is a mayan calander. I named it that because it's a scheduler based on maya, the excellent datatime library by Kenneth Reitz.

What does tzolkin do differently?

It's designed for maximum flexibility and built to be human interpretable.

All the core elements are abstract classes with minimal interfaces.

Need some weird asynchronous behavior, or to ensure consistency across a bunch of remote nodes? Write a Schedule.

Want to schedule something for every time there's penumbral lunar eclipse over Old Carthage, or the first day of every prime numbered Gregorian year? Write a TimeSet.

Need to trigger something weird? If you can fit it in a python function, it'll work as a Job.

Why did you make this?

I needed it for another project. I started out using schedule, but it quickly became clear that I needed something more flexible and extensible.

Why not improve schedule?

My particular use cases would have required pretty dramatic changes, and looking at the contribution rules (in particular the requirement that it work for python2, and the requirement that it not use external libraries) for schedule I decided it was not going to be very plausible.

In addition, I wanted more flexible fluent building, and native first class support for jobs that run only once.

Why not improve python-crontab?

The goals of python-crontab are a little different. I wanted to focus on scheduling within python (not just running bash jobs). I wanted to support scheduling singleton jobs, as above. And I wanted something more readable.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tzolkin-1.0.3.tar.gz (15.1 kB view details)

Uploaded Source

File details

Details for the file tzolkin-1.0.3.tar.gz.

File metadata

  • Download URL: tzolkin-1.0.3.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for tzolkin-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ec5289e5c53a931c9bcf00b23ba173a39b1b120234fc246a8eae31f4783f99e5
MD5 f77d85b52ac98a27ff1e6ee4d260cbd0
BLAKE2b-256 94867cdbd8d7a30349e38b9e49507a9d3735ec58175645e97a6eaa07480764e3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page