Command Line Interface
chembl_downloader automatically installs the command chembl_downloader. See
chembl_downloader --help for usage details.
chembl_downloader
Test the connection.
chembl_downloader [OPTIONS] COMMAND [ARGS]...
download
Download the data.
chembl_downloader download [OPTIONS]
Options
- --version <version>
The ChEMBL version to use. Defaults to latest.
- -v, --verbose
Enable verbose mode. More -v’s means more verbose.
history
Generate a historical analysis of ChEMBL.
chembl_downloader history [OPTIONS]
Options
- --delete-old
Delete old versions as you go, useful if you have limited hard disk space but also more time intensive on re-run.
- --test
Run on test versions: 1, 9, 19, 25, 35
- --max-workers <max_workers>
Use threading to download/process multiple at the same time. In practice, this doesn’t work because the ChEMBL server is limited in how fast it can serve the data.
history-draw
Draw charts after running the history CLI command.
chembl_downloader history-draw [OPTIONS]
substructure
Build a substructure library.
chembl_downloader substructure [OPTIONS]
Options
- --version <version>
The ChEMBL version to use. Defaults to latest.
- -v, --verbose
Enable verbose mode. More -v’s means more verbose.
summarize
Run test queries and print results to the console.
chembl_downloader summarize [OPTIONS]
Options
- --version <version>
The ChEMBL version to use. Defaults to latest.
- -v, --verbose
Enable verbose mode. More -v’s means more verbose.