KSAT is a simple asynchronous job scheduling solution for python applications. It allows to delegate long running functions to be done as tasks by another cluster.
# From the application library
from ksat import task
@task
def hard_func(args):
# ideally, this function has no return function and is idempotent
result = compute_expensive_thing(args)
log_result(result)
For now, ksat does not support return values. We are still debating how we want to handle the syntax for those.
You will need to install pip install dev-requirements.txt
We use pytest, and you can run all tests by simply calling:
$ pytest