Skip to main content

datasette plugin to explore CLDF datasets

Project description

datasette-cldf

Datasette plugin to explore CLDF datasets

Build Status 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/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

Project details


Download files

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

Source Distribution

datasette_cldf-0.3.0.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datasette_cldf-0.3.0-py2.py3-none-any.whl (12.7 kB view details)

Uploaded Python 2Python 3

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

Hashes for datasette_cldf-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4332630391ecdc736d28053bd8afc690f47a041b63e5825e3e50083abc931598
MD5 a16c7932fa108abc9d22ee5a08153223
BLAKE2b-256 efed9d2557736257f7af789e9af3c332869a2bc72a06862f09d9f3bebf441603

See more details on using hashes here.

File details

Details for the file datasette_cldf-0.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for datasette_cldf-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5ec74649f687b8d42437a2d3286700aabfb4047ca05c1758477d4adb5ed3069f
MD5 e5eff4f2fb05c5d8885876c6e81f499f
BLAKE2b-256 3f8e25cc9ffeedcf2b3055387df74d703c44a7259bbf93b37ef09278e8b27a10

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page