Python engine for tasks and dependencies