datasette plugin to explore CLDF datasets
Project description
datasette-cldf
Datasette plugin to explore CLDF datasets
CLDF datasets can be easily loaded into SQLite databases
(running the cldf createdb command provided with pycldf). Thus, they can be readily explored via the web interface provided by
datasette.
This plugin exploits the "semantics" of CLDF to customize datasette, e.g. to display
glottocode columns as hyperlinks to https://glottolog.org or to display rows of an ExampleTable component as interlinear glossed text, i.e. with
aligned morphemes and glosses.
Usage
datasette-cldf customizes datasette by providing
- custom datasette metadata
- custom templates
- and custom configuration.
Thus, instead of calling the datasette cli directly, ỳou call the datasette.serve subcommand, which this package registers with cldfbench:
cldfbench datasette.serve PATH/TO/CLDF/DATASET
Features
We'll show the customizations provided by this plugin with a series of screenshots of datasette serving the World Atlas of Language Structures and the Glottolog data, respectively.
- Languages are displayed on a map
- Language details also show a map
-
and link to feature values of the language for WALS
and values for the Glottolog "parameters" for Glottolog
-
Feature pages list possible values and their distribution
- Sources are formatted according to the Unified Style Sheet and as BibTeX records
- Examples are formatted as interlinear glossed text according to the Leipzig Glossing Rules
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 datasette_cldf-0.3.0.tar.gz.
File metadata
- Download URL: datasette_cldf-0.3.0.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4332630391ecdc736d28053bd8afc690f47a041b63e5825e3e50083abc931598
|
|
| MD5 |
a16c7932fa108abc9d22ee5a08153223
|
|
| BLAKE2b-256 |
efed9d2557736257f7af789e9af3c332869a2bc72a06862f09d9f3bebf441603
|
File details
Details for the file datasette_cldf-0.3.0-py2.py3-none-any.whl.
File metadata
- Download URL: datasette_cldf-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ec74649f687b8d42437a2d3286700aabfb4047ca05c1758477d4adb5ed3069f
|
|
| MD5 |
e5eff4f2fb05c5d8885876c6e81f499f
|
|
| BLAKE2b-256 |
3f8e25cc9ffeedcf2b3055387df74d703c44a7259bbf93b37ef09278e8b27a10
|