Adding timing constraints to python