Command Line Interface

Export UNIHAN to Python, Data Package, CSV, JSON and YAML

usage: unihan-etl [-h] [-v] [-s SOURCE] [-z ZIP_PATH] [-d DESTINATION]
                  [-w WORK_DIR] [-F {json,csv}] [--no-expand] [--no-prune]
                  [-f [FIELDS [FIELDS ...]]]
                  [-i [INPUT_FILES [INPUT_FILES ...]]]
                  [-l {DEBUG,INFO,WARNING,ERROR,CRITICAL}]

Named Arguments

-v, --version show program’s version number and exit
-s, --source
-z, --zip-path
-d, --destination
 
-w, --work-dir
-F, --format Possible choices: json, csv
--no-expand Default: True
--no-prune Default: True
-f, --fields
-i, --input-files
 
-l, --log_level
 Possible choices: DEBUG, INFO, WARNING, ERROR, CRITICAL