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 Documentation

Authors (Version 2.6.12): 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. 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

$ 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
$ 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.13.tar.gz (555.1 kB view details)

Uploaded Source

Built Distribution

lingpy-2.6.13-py2.py3-none-any.whl (602.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lingpy-2.6.13.tar.gz
  • Upload date:
  • Size: 555.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for lingpy-2.6.13.tar.gz
Algorithm Hash digest
SHA256 a4a3504b6d824d658f3e7b4ae67cd6aebdd645b0ee711fa010c1b68378f93373
MD5 42f84c7db7d942a215164ee847bb9fec
BLAKE2b-256 a082783d435ddb7135fed945740a4ea3331519411a496c9fb3970880bb49070d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lingpy-2.6.13-py2.py3-none-any.whl
  • Upload date:
  • Size: 602.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for lingpy-2.6.13-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d582f6b3ca4e41299fa6caee8f1e4b41da31219c079dfe8d7e19302b2573ab72
MD5 ccfa26c12b26a49ae41856ec5e6f97c2
BLAKE2b-256 7ff3d69a48cdb41add60444d34ca302db28b8f8dde67ae18a4e24af9787f2331

See more details on using hashes here.

Supported by

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