Skip to main content

Destination configuration

destination:
type: file-jsonl # see table
fileprefix: output # required for file-* types
compress: gz # optional: gz, bz2, xz, zip, zst

compress and compression are both accepted. zst needs the compression extra: pip install "datacrafter[compression]".

File types​

TypeExtensionExtra package
file-jsonl.jsonl—
file-bson.bson—
file-csv.csvoptional delimiter / quotechar
file-parquet.parquetpyarrow (datacrafter[parquet])

File destinations write output/datapackage.json beside the data file.

destination:
type: mongodb
connstr: "${MONGO_URI}"
dbname: mydb
tablename: mytable
TypePackage
mongodbpymongo
arangodbpython-arango
couchdbpycouchdb
meilisearchmeilisearch

Concepts: Destinations.