unihan-etl download

Download and cache the UNIHAN database without exporting.

Command

Download and cache UNIHAN database.

Download the Unicode Han database without processing or exporting. Use this to pre-cache the data for later export commands.

Usage

usage: unihan-etl download [-h] [-s SOURCE] [-z ZIP_PATH] [-w WORK_DIR]
                           [--no-cache]

Examples

$ unihan-etl download
$ unihan-etl download --no-cache
$ unihan-etl download -z /tmp/Unihan.zip

Options

-s, --source

URL or path of zipfile. Default: http://www.unicode.org/Public/UNIDATA/Unihan.zip

Default
None
-z, --zip-path

Path to download zipfile to. Default: /home/runner/.cache/unihan_etl/downloads/Unihan.zip

Default
None
-w, --work-dir

Working directory for extraction. Default: /home/runner/.cache/unihan_etl/downloads

Default
None
--no-cache

Force re-download even if cached.

Default
True

Examples

Download and cache without exporting:

$ unihan-etl download

Force re-download:

$ unihan-etl download --no-cache