Skip to main content

Extract shoebox and toolbox data to CSV files.

Project description

box2csv

Extract data from shoebox and toolbox projects to CSV files.

License Tests Linting Codecov PyPI Versions

Installation

pip install box2csv

Usage

At the moment, there is only one command: box2csv corpus, for collections of glossed texts. To create a file mytextdatabase.csv from a toolbox file mytextdatabase.txt:

box2csv corpus mytoolbox/mytextdatabase.txt

Project-specific configuration can be passed via --conf your/config.yaml; to see what options are available, check the default configuration file as well as the default configuration files for toolbox and shoebox.

To create a CLDF version of the corpus, add the option --cldf. For more help on how to run the command, use box2csv corpus --help.

Problems

  1. if running box2csv produces warnings, check your database for possible inconsistencies
  2. if that did not solve your problem, open an issue

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

box2csv-0.0.1.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

box2csv-0.0.1-py3-none-any.whl (11.5 kB view hashes)

Uploaded Python 3

Supported by

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