a resque clone in python