Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lingpy/lingpy
LingPy: Python library for quantitative tasks in historical linguistics
https://github.com/lingpy/lingpy
Last synced: 3 months ago
JSON representation
LingPy: Python library for quantitative tasks in historical linguistics
- Host: GitHub
- URL: https://github.com/lingpy/lingpy
- Owner: lingpy
- License: gpl-3.0
- Created: 2012-10-23T09:38:54.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2023-12-14T06:18:47.000Z (11 months ago)
- Last Synced: 2024-04-14T06:03:14.349Z (7 months ago)
- Language: Python
- Homepage: http://lingpy.org
- Size: 25.4 MB
- Stars: 121
- Watchers: 20
- Forks: 38
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- low-resource-languages - Lingpy - LingPy: Python library for quantitative tasks in historical linguistics http://lingpy.org. (Software / Utilities)
README
# 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](https://github.com/lingpy/lingpy/workflows/tests/badge.svg)](https://github.com/lingpy/lingpy/actions?query=workflow%3Atests)
[![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.597082.svg)](https://doi.org/10.5281/zenodo.597082)
[![PyPI version](https://badge.fury.io/py/lingpy.png)](https://badge.fury.io/py/lingpy)
[![Documentation](https://bade.fury.io/py/lingpy.png)](https://lingpy.github.io)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](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
$ 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:
```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 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:
```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//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.