Clinical trial designs and methods in Python