clld-9.2.2
توضیحات
Python library supporting the development of cross-linguistic databases
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | clld-9.2.2 |
| نام | clld |
| نسخه کتابخانه | 9.2.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Robert Forkel |
| ایمیل نویسنده | robert_forkel@eva.mpg.de |
| آدرس صفحه اصلی | https://clld.org |
| آدرس اینترنتی | https://pypi.org/project/clld/ |
| مجوز | Apache 2.0 |
# clld
The `clld` toolkit - a web framework for the publication of
[Cross-Linguistic Linked Data](https://clld.org).
Documentation for the code base and its use is available at https://clld.readthedocs.io/en/latest/.
The source for this documentation is in the `docs` directory.
[](https://github.com/clld/clld/actions?query=workflow%3Atests)
[](https://pypi.python.org/pypi/clld)
[](http://clld.readthedocs.io/en/latest/?badge=latest)
## Usage
Once the initial steps (installation, bootstrapping a new project)
have been done helped by [the online documentation](https://clld.readthedocs.io/en/latest/),
the biggest resource to guide further development of a `clld` app
is the [wealth of existing apps](https://github.com/clld/clld/network/dependents).
(Note: GitHub's "Used by" links - created from the dependency graph data - are really
helpful here!)
The following pointers are meant as a
starting point to solve specific problems by perusing the code of other
apps.
- **Integrating language metadata from Glottolog**: There's
[a plugin](https://github.com/clld/clld-glottologfamily-plugin) for that
and here's the list of apps on GitHub using it: https://github.com/clld/clld-glottologfamily-plugin/network/dependents
- **Displaying (data on) phylogenetic laguage trees**: There's
[a plugin](https://github.com/clld/clld-phylogeny-plugin) for that
and here's the list of apps on GitHub using it: https://github.com/clld/clld-phylogeny-plugin/network/dependents
- **Displaying cognacy relations between words**: There's
[a plugin](https://github.com/clld/clld-cognacy-plugin) for that
and here's the list of apps on GitHub using it: https://github.com/clld/clld-cognacy-plugin/network/dependents
- **Displaying phoneme inventories as IPA charts**: There's
[a plugin](https://github.com/clld/clld-ipachart-plugin) for that
and here's the list of apps on GitHub using it: https://github.com/clld/clld-ipachart-plugin/network/dependents
- **Integrating audio recordings of lexical data**: There's
[a plugin](https://github.com/clld/clld-audio-plugin) for that
and here's the list of apps on GitHub using it: https://github.com/clld/clld-audio-plugin/network/dependents
- **Aggregating data from multiple CLDF datasets**: The app serving the
[Intercontinental Dictionary Series](https://ids.clld.org) does this.
Very simple per-dataset metadata of the form
```json
{
"id": "ids-cosgrovevoro",
"repo": "https://github.com/intercontinental-dictionary-series/cosgrovevoro",
"doi": "10.5281/zenodo.4280576",
"order": 2
}
```
is read and used to populate the database, see
https://github.com/clld/ids/blob/master/ids/scripts/initializedb.py#L38-L67
- **Aggregating data from different CLDF modules**: While most `clld` apps are
concerned with just one type of data (e.g. typological questionnaires as in WALS,
or wordlists as in IDS), some have a different focus (e.g.
[TuLaR (Tupían Language Resources)](https://tular.clld.org)). The TuLaR
app aggregates data which is curated in several datasets, bundled under
a [Zenodo community](https://zenodo.org/communities/tular), see https://github.com/tupian-language-resources/tular/blob/main/tular/scripts/initializedb.py
- **Using Charis SIL fonts**: using [SIL's Charis fonts](https://software.sil.org/charis/) on a `clld` page is simple. Here's an example
https://ids.clld.org/valuesets/1-100-316
- Include the relevant style sheet (which will pull in the font resources):
https://github.com/clld/ids/blob/b2884e06a53a0a3c7a0dc27955c314869d0a31aa/ids/templates/ids.mako#L10-L12
- Then assign the appropriate css class:
https://github.com/clld/ids/blob/b2884e06a53a0a3c7a0dc27955c314869d0a31aa/ids/templates/unit/detail_html.mako#L6
## See
- The [CLLD project](https://clld.org)
- [Online documentation](https://clld.readthedocs.io/en/latest/)
- [Presentation on clld from 2014](https://clld.org/docs/reflex/clld.pdf)
نیازمندی
| مقدار | نام |
|---|---|
| - | Babel |
| >=3.18 | clldutils |
| >=1.10 | pyramid |
| >=1.0 | pyramid-mako |
| - | pyramid-tm |
| <2.0,>=1.4 | SQLAlchemy |
| - | zope.sqlalchemy |
| >=0.12.1 | webassets |
| - | markupsafe |
| >=4.1.1 | rdflib |
| - | nameparser |
| - | cookiecutter |
| - | pycldf |
| - | cookiecutter |
| - | pycldf |
| - | cldfcatalog |
| - | waitress |
| - | pyramid-debugtoolbar |
| - | tox |
| - | flake8 |
| - | wheel |
| - | twine |
| - | build |
| - | Sphinx |
| - | docutils |
| - | repoze.sphinx.autointerface |
| - | cookiecutter |
| >=6 | pytest |
| >=1.0.3 | pytest-clld |
| - | pytest-mock |
| - | pytest-cov |
| >=4.2 | coverage |
| >=3.11.0 | zope.component |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl clld-9.2.2:
pip install clld-9.2.2.whl
نصب پکیج tar.gz clld-9.2.2:
pip install clld-9.2.2.tar.gz