Skip to main content

Python library for quantitative tasks in historical linguistics

Project description

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 codecov.io 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

or

$ 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 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 install LingPy 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:

>>> from lingpy import *

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

$ git clone https://github.com/<your-github-user>/lingpy/
$ cd lingpy
$ python setup.py 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lingpy-2.6.5.tar.gz (3.2 MB view details)

Uploaded Source

File details

Details for the file lingpy-2.6.5.tar.gz.

File metadata

  • Download URL: lingpy-2.6.5.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.2

File hashes

Hashes for lingpy-2.6.5.tar.gz
Algorithm Hash digest
SHA256 779865b6948e8fb31e05820ebdfd30806c4e20883b49f7be9aa57d1b06636492
MD5 18b66431df448f9c637183a245ea03a8
BLAKE2b-256 5e331442e2505f35fb919e681db2fcd8f338fab692834af44c84ceeaefbd855a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page