Skip to main content

datasette plugin to explore CLDF datasets

Project description

datasette-cldf

Datasette plugin to explore CLDF datasets

Build Status codecov PyPI

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

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-metadata.json

Features

We'll show the customizations provided by this plugin with a series of screenshots of datasette serving the World Atlas of Language Structures.

  • Languages are displayed on a map

  • Language details also show a map

  • and link to feature values of the language

  • Feature pages list possible values and their distribution

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for datasette-cldf, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size datasette_cldf-0.2.0-py2.py3-none-any.whl (13.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size datasette-cldf-0.2.0.tar.gz (12.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page