LingPy is an open source Python library for historical linguistics. It provides tools for sequence comparison, distance analysis, data operations and visualization. LingPy integrates different quantitative historical linguistics methods into a single framework and serves as an interface between linguistic data and biological software packages. It allows users to tokenize IPA sequences, perform alignments, search for cognates across languages, calculate distances between languages, reconstruct phylogenies and export results.