2025-03-14 21:59:59 -06:00
|
|
|
# kaggle
|
|
|
|
|
|
|
|
|
|
> Official CLI for Kaggle implemented in Python 3.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://github.com/Kaggle/kaggle-api/blob/main/docs/README.md>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- View current configuration values:
|
|
|
|
|
|
|
|
|
|
`kaggle config view`
|
|
|
|
|
|
|
|
|
|
- Download a specific file from a competition dataset:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`kaggle competitions download {{competition}} {{[-f|--file]}} {{path/to/file}}`
|
|
|
|
|
|
|
|
|
|
- List competitions matching a search term:
|
|
|
|
|
|
|
|
|
|
`kaggle competitions list {{[-s|--search]}} {{search_term}}`
|
|
|
|
|
|
|
|
|
|
- List files available for a specific competition:
|
|
|
|
|
|
|
|
|
|
`kaggle competitions files {{competition}}`
|
|
|
|
|
|
|
|
|
|
- Submit a file to a competition with a message:
|
|
|
|
|
|
|
|
|
|
`kaggle competitions submit {{competition}} {{[-f|--file]}} {{path/to/submission.csv}} {{[-m|--message]}} "{{message}}"`
|
|
|
|
|
|
|
|
|
|
- List datasets matching a search term:
|
|
|
|
|
|
|
|
|
|
`kaggle datasets list {{[-s|--search]}} {{search_term}}`
|
|
|
|
|
|
|
|
|
|
- Download all files from a dataset:
|
|
|
|
|
|
|
|
|
|
`kaggle datasets download {{owner}}/{{dataset_name}}`
|
|
|
|
|
|
|
|
|
|
- List kernels (notebooks) matching a search term:
|
|
|
|
|
|
|
|
|
|
`kaggle kernels list {{[-s|--search]}} {{search_term}}`
|