Skip to main content

ditrans2cldf

Python package for processing Filemaker databases following the structure of Malchukov & Haspelmath's Ditranstive constructions data base.

This package reads the Excel export from the Filemaker database and converts it into the CLDF format.

Set up

Ditrans2cldf can be installed using pip:

$ pip install ditrans2cldf

Basic usage

pydictionaria is built on top of cldfbench. You can set up a ditrans2cldf project using the provided cldfbench template.

$ cldfbench new --template=ditransitive_db

The conversion process involves exporting the views in the Filemaker database as Excel files and putting them into the raw/ folder of the cldfbench. See doc/export-tutorial.pdf for a list of table columns that you need to export. The exported Excel files need then to be converted to CSV (unfortunately Filemaker's builtin CSV/TSV exports lack column headers, otherwise we would have used those directly). After that you can run makecldf to generate the CLDF data.

$ # convert excel to csv
$ cldfbench download cldfbench_*.py
$ # generate cldf data
$ cldfbench makecldf cldfbench_*.py

ditrans2cldf supports a configuration file in the etc/ folder of the cldfbench, which gives more control over which Filemaker columns map to which CLDF columns. For all supported options refer to doc/configuration-file.md.

Release files for ditrans2cldf 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ditrans2cldf 1.0.2
File Size Uploaded
ditrans2cldf-1.0.2.tar.gz 30.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ditrans2cldf 1.0.2
File Interpreter ABI Platform
ditrans2cldf-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 57.8 kB

Release files / ditrans2cldf-1.0.2.tar.gz

Download URL ditrans2cldf-1.0.2.tar.gz
Size 30.1 kB
Tags Source
SHA-256 checksum
How to use checksums
dafb026dfb1d2c243956265e94e98ba07e11f1c54c52d9fed8225b010506b4be
BLAKE2b-256 checksum
How to use checksums
18b37b424bf2f9f8efc0091de1df8cbacd12324ceed5f58c91094380e78e0343
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.19

Release files / ditrans2cldf-1.0.2-py3-none-any.whl

Download URL ditrans2cldf-1.0.2-py3-none-any.whl
Size 27.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
564ae19355ba5184eeb232e7acde0eddafb26e265f3ba3f371a616885b1c4461
BLAKE2b-256 checksum
How to use checksums
fde479689b9591f0e1ec11c676766e50e1709552e7929baa8635031354632001
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.19

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page