LingPy is a Python Library for Historical Linguistics. It is being developed for Python 2.7 and Python 3.x using [a single codebase](https://docs.python.org/3/howto/pyporting.html).

* All source code is available at: [https://github.com/lingpy/lingpy](https://github.com/lingpy/lingpy).* Documentation can be found at: [http://lingpy.org](http://lingpy.org).* For a list of papers in which LingPy was applied, see [here](https://github.com/lingpy/lingpy/blob/master/PAPERS.md).

## Quick Installation

For our latest stable version, you can simply use pip or easy_install for installation:```bash$ pip install lingpy```or ```bash$ 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:```bash$ git clone https://github.com/lingpy/lingpy/$ cd lingpy$ python setup.py install```

If the last command above returns you some error regarding user permissions (usually "Errno 13"), you can installLingPy in your home Python setup:```$ python setup.py install --user```

In order to use the library, start an interactive python session and import LingPy as follows:```python>>> from lingpy import *```

To install LingPy to hack on it, fork the repository on GitHub, open a terminal and type:```bash$ git clone https://github.com/<your-github-user>/lingpy/$ cd lingpy$ python setup.py develop```This will install LingPy in ["development mode"](http://pythonhosted.org//setuptools/setuptools.html#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.