Extract shoebox and toolbox data to CSV files.
Project description
box2csv
Extract data from shoebox and toolbox projects to CSV files.
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
- if running
box2csv
produces warnings, check your database for possible inconsistencies - if that did not solve your problem, open an issue
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
File details
Details for the file box2csv-0.0.1.tar.gz
.
File metadata
- Download URL: box2csv-0.0.1.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93dc1cb0b4a7301126e8377e3b9ca629199da63f983ed00f6941434deeeb4ad5 |
|
MD5 | 9c54b69a287e7c90fcba9e17bf525ee1 |
|
BLAKE2b-256 | da1b4c6c3607446dd2dd5613b54fbf26c6f5e056eaea171e78a8b1cc7759f0f5 |
File details
Details for the file box2csv-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: box2csv-0.0.1-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f98f0078c6a481948421a6bc3605b6d7363dabf39e39d8481c7d37df9c7e5b42 |
|
MD5 | 14172b17f7fd3ae3984d7a835432b2d3 |
|
BLAKE2b-256 | fb4448da94aee296d8d6f9039903d65f14e6bad9d3c7739e3b6776866b24f33c |