A Python library for quantitative tasks in historical linguistics