Skip to main content

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

Metadata

Release files for box2csv 0.0.1

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

Source distribution (sdist)

Source distribution for box2csv 0.0.1
File Size Uploaded
box2csv-0.0.1.tar.gz 10.2 kB Details

Built distribution (wheel)

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

Total release size: 21.7 kB

Release files / box2csv-0.0.1.tar.gz

Download URL box2csv-0.0.1.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
93dc1cb0b4a7301126e8377e3b9ca629199da63f983ed00f6941434deeeb4ad5
BLAKE2b-256 checksum
How to use checksums
da1b4c6c3607446dd2dd5613b54fbf26c6f5e056eaea171e78a8b1cc7759f0f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.13

Release files / box2csv-0.0.1-py3-none-any.whl

Download URL box2csv-0.0.1-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f98f0078c6a481948421a6bc3605b6d7363dabf39e39d8481c7d37df9c7e5b42
BLAKE2b-256 checksum
How to use checksums
fb4448da94aee296d8d6f9039903d65f14e6bad9d3c7739e3b6776866b24f33c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.13

Release history Release notifications | RSS feed

This release

0.0.1 This release

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