Framework for htcondor jobs in Python