A cldfbench plugin to create vizualisations of CLDF datasets
Project description
cldfviz
Python library providing tools to visualize CLDF datasets.
Install
Run
pip install cldfviz
If you want create maps in image formats (PNG, JPG, PDF), the cartopy
package is needed,
which will be installed with
pip install cldfviz[cartopy]
Note: Since cartopy
has quite a few system-level requirements, installation may be somewhat tricky. Should
problems arise, https://scitools.org.uk/cartopy/docs/v0.15/installing.html may help.
CLI
cldfviz
is implemented as cldfbench
plugin, i.e. it provides subcommands for the cldfbench
command.
After installation you should see subcommands with a cldfviz.
prefix
listed when running
cldfbench -h
cldfviz.map
A common way to visualize data from a CLDF StructureDataset is as "dots on a map",
i.e. as WALS-like geographic maps, displaying typological variation.
The cldfviz.map
subcommand allows you to create such maps. For details see docs/map.md.
cldfviz.text
A rather traditional visualization of linguistic data is the practice of interspersing bits of data
in descriptive texts, most obviously perhaps as examples formatted as Interlinear Glossed Text.
The cldfviz.text
subcommand allows you "render" documents written in "CLDF markdown", i.e. converting
such documents to plain markdown by inserting suitable representations of the referenced data.
For details see docs/text.md.
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
Hashes for cldfviz-0.7.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be176b1d023062d1793bfa711054d6a078f744d9060383c469fe82bbe5837c8a |
|
MD5 | 6957884cb73fbd10af5f0691a29cc433 |
|
BLAKE2b-256 | e26a0cae49bb7b8ff388ef3668b750211fb7b6e82de221f15d971b2ddf856c4f |