Python library supporting the development of cross-linguistic databases
Project description
clld
The clld toolkit - a web framework for the publication of
Cross-Linguistic Linked Data.
Documentation for the code base and its use is available at http://clld.readthedocs.org/en/latest/. The source for this documentation is in the docs directory.
Cite
Most recent version: https://doi.org/10.5281/zenodo.592412
Usage
Once the initial steps (installation, bootstrapping a new project)
have been done helped by the online documentation,
the biggest resource to guide further development of a clld app
is the wealth of existing apps.
(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 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 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 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 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 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 does this.
Very simple per-dataset metadata of the form
{ "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
clldapps 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)). The TuLaR app aggregates data which is curated in several datasets, bundled under a Zenodo community, see https://github.com/tupian-language-resources/tular/blob/main/tular/scripts/initializedb.py - Using Charis SIL fonts: using SIL's Charis fonts on a
clldpage 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clld-9.2.1.tar.gz.
File metadata
- Download URL: clld-9.2.1.tar.gz
- Upload date:
- Size: 5.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b7a136fd1eb470c9b925df630b808a2ccadb85ce520142c5fb4b8450e05e895
|
|
| MD5 |
9166e41e0b624027ae3ab981ff2985d6
|
|
| BLAKE2b-256 |
c42a3cb30609527fdc457c76823aec401e76ca4ac3ecce532953ca3b303e377b
|
File details
Details for the file clld-9.2.1-py2.py3-none-any.whl.
File metadata
- Download URL: clld-9.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.5 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec4dbc0519dd618724a42d7f876a425226061ef91093e7ea8eea675e05d20073
|
|
| MD5 |
c6b8c1d9490a3d68e0a24609fd23f96f
|
|
| BLAKE2b-256 |
ea0a470e78e2e9699942ed1292069c02a3b1500800ec37a2e27260b338d54b26
|