cldfbench Catalogs
cldfbench tries to make using (known) reference catalogs while creating CLDF data as simple as possible. See BUILTIN_CATALOGS for a list of “known” catalogs.
For these catalogs, cldfbench provides - support to require (specific versions of) these catalogs in custom cldfbench commands, - support to access the Python API for each catalog from the Catalog object, - automatic registration of catalogs as provenance information when writing CLDF.
- class cldfbench.catalogs.Catalog(path, tag=None, not_git_repo_ok=True)[source]
A Catalog is a git repository clone (optionally with a python API to access it).
- class cldfbench.catalogs.Glottolog(path, tag=None, not_git_repo_ok=True)[source]
Name: “glottolog”
Data repository: glottolog/glottolog
Python API: pyglottolog
- class cldfbench.catalogs.Concepticon(path, tag=None, not_git_repo_ok=True)[source]
Name: “concepticon”
Data repository: concepticon/concepticon-data
Python API: pyconcepticon
- class cldfbench.catalogs.CLTS(path, tag=None, not_git_repo_ok=True)[source]
Name: “clts”
Data repository: cldf-clts/clts
Python API: pyclts