cldf / pycldf

python package to read and write CLDF datasets
https://cldf.clld.org
Apache License 2.0
15 stars 7 forks source link

discover CLDF datasets in a directory #104

Closed xrotwang closed 4 years ago

xrotwang commented 4 years ago

Along the lines of

def iter_datasets(d):
    for p in walk(d):
        if sniff(p):
            yield Dataset.from_metadata(p)