Python library of profile tools