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
Metadata
Release files for datasette-cldf 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| datasette_cldf-0.3.0.tar.gz | 14.2 kB | Without provenance | Details for datasette_cldf-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datasette_cldf-0.3.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for datasette_cldf-0.3.0-py2.py3-none-any.whl |
Total release size: 26.9 kB
Release files / datasette_cldf-0.3.0.tar.gz
| Download URL | datasette_cldf-0.3.0.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4332630391ecdc736d28053bd8afc690f47a041b63e5825e3e50083abc931598
|
|
BLAKE2b-256 checksum How to use checksums |
efed9d2557736257f7af789e9af3c332869a2bc72a06862f09d9f3bebf441603
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / datasette_cldf-0.3.0-py2.py3-none-any.whl
| Download URL | datasette_cldf-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5ec74649f687b8d42437a2d3286700aabfb4047ca05c1758477d4adb5ed3069f
|
|
BLAKE2b-256 checksum How to use checksums |
3f8e25cc9ffeedcf2b3055387df74d703c44a7259bbf93b37ef09278e8b27a10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for datasette-cldf 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.