Skip to content
LingPy: Python library for quantitative tasks in historical linguistics
Python JavaScript Other
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

LingPy: A Python Library for Automatic Tasks in Historical Linguistics

This repository contains the python package lingpy which can be used for various task in computational historical linguistics.

Build Status DOI PyPI version Documentation

Authors: Johann-Mattis List (Max Planck Institute for the Science of Human History), Simon Greenhill (Max Planck Institute for the Science of Human History), and Robert Forkel (Max Planck Institute for the Science of Human History)

Collaborators: Steven Moran (Universität Zürich, Peter Bouda, Johannes Dellert (University of Tübingen), Taraka Rama (Centre for Language Technology, Göteborg), Tiago Tresoldi (MPI-SHH), and Gereon Kaiping (Leiden University)

LingPy is a Python Library for Historical Linguistics. It is being developed for Python 2.7 and Python 3.x using a single codebase.

Quick Installation

For our latest stable version, you can simply use pip or easy_install for installation:

$ pip install lingpy


$ easy_install lingpy

Depending on which easy_install or pip version you use, either the Python2 or the Python3 version of LingPy will be installed.

If you want to install LingPy the current GitHub version on your system, open a terminal and type in the following:

$ git clone
$ cd lingpy
$ python install

If the last command above returns you some error regarding user permissions (usually "Errno 13"), you can install LingPy in your home Python setup:

$ python install --user

In order to use the library, start an interactive python session and import LingPy as follows:

>>> from lingpy import *

To install LingPy to hack on it, fork the repository on GitHub, open a terminal and type:

$ git clone<your-github-user>/lingpy/
$ cd lingpy
$ python develop

This will install LingPy in "development mode", i.e. you will be able edit the sources in the cloned repository and import the altered code just as the regular python package.

You can’t perform that action at this time.