commands.sh

kaggle

all

Official CLI for Kaggle implemented in Python 3.

More info →

Options (6)

boolean

Download a specific file from a competition dataset

Example: kaggle {{[c|competitions]}} download {{competition}} {{[-f|--file]}} {{path/to/file}}
-f, --fileboolean

Download a specific file from a competition dataset

Example: kaggle {{[c|competitions]}} download {{competition}} {{[-f|--file]}} {{path/to/file}}
-s, --searchboolean

List competitions matching a search term

Example: kaggle {{[c|competitions]}} list {{[-s|--search]}} {{search_term}}
-m, --messageboolean

Submit a file to a competition with a message

Example: kaggle {{[c|competitions]}} submit {{competition}} {{[-f|--file]}} {{path/to/submission.csv}} {{[-m|--message]}} "{{message}}"
boolean

List datasets matching a search term

Example: kaggle {{[d|datasets]}} list {{[-s|--search]}} {{search_term}}
boolean

List kernels (notebooks) matching a search term

Example: kaggle {{[k|kernels]}} list {{[-s|--search]}} {{search_term}}

Examples (8)

View current configuration values

Download a specific file from a competition dataset

kaggle [c|competitions] download competition [-f|--file] path/to/file

List competitions matching a search term

kaggle [c|competitions] list [-s|--search] search_term

List files available for a specific competition

kaggle [c|competitions] files competition

Submit a file to a competition with a message

kaggle [c|competitions] submit competition [-f|--file] path/to/submission.csv [-m|--message] "message"

List datasets matching a search term

kaggle [d|datasets] list [-s|--search] search_term

Download all files from a dataset

kaggle [d|datasets] download owner/dataset_name

List kernels (notebooks) matching a search term

kaggle [k|kernels] list [-s|--search] search_term
made by @shridhargupta | data from tldr-pages