Python interface for job submission and execution.