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 tasks in computational historical linguistics.

Build Status DOI PyPI version

Authors (Version 2.6.14): Johann-Mattis List and Robert Forkel

Collaborators: Christoph Rzymski, Simon J. Greenhill, Steven Moran, Peter Bouda, Johannes Dellert, Taraka Rama, Tiago Tresoldi, Gereon Kaiping, Frank Nagel, and Patrick Elmer.

LingPy is a Python library for historical linguistics.

Quick Installation

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

$ pip install lingpy

or

$ pip 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 the current GitHub version of LingPy 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
$ pip install -e .[test]

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.14.tar.gz (555.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lingpy-2.6.14-py2.py3-none-any.whl (601.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: lingpy-2.6.14.tar.gz
  • Upload date:
  • Size: 555.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for lingpy-2.6.14.tar.gz
Algorithm Hash digest
SHA256 b87c36516ecbb323601e4b357091816e4226c61283a78c28ccde55026d4aef3a
MD5 bc9c3c883446ba2dcb095bccc654fd0d
BLAKE2b-256 03276bb8e42440a663ec8633c608095f005a63c4ee5757f59298ed51222d35fe

See more details on using hashes here.

File details

Details for the file lingpy-2.6.14-py2.py3-none-any.whl.

File metadata

  • Download URL: lingpy-2.6.14-py2.py3-none-any.whl
  • Upload date:
  • Size: 601.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for lingpy-2.6.14-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 64a00621dc66426ffae72fe295fcf30d06a46bd125809b9ebc49aaca535b8af5
MD5 8c204d42e9d4d04b81b05510bd669d54
BLAKE2b-256 793c59d7a1fc86842d2aec61384968930671dfe35477327d2cdd21e0b4f3b706

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