Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-08 00:19:07 +00:00
parent ba165f8d8e
commit 9dd7a2e5d6
15 changed files with 268 additions and 7 deletions

33
tldr/kaggle-competitions Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# kaggle competitions
> Manage Kaggle competitions from the command-line.
> More information: <https://github.com/Kaggle/kaggle-api/blob/main/docs/README.md#competitions>.
- List all competitions:
`kaggle {{[c|competitions]}} list`
- Download competition data:
`kaggle {{[c|competitions]}} download {{competition_name}}`
- Download specific file:
`kaggle {{[c|competitions]}} download {{competition_name}} {{[-f|--file]}} {{file}}`
- Submit files to a competition:
`kaggle {{[c|competitions]}} submit {{competition_name}} {{[-f|--file]}} {{path/to/file}} {{[-m|--message]}} "{{message}}"`
- Show or download leaderboard:
`kaggle {{[c|competitions]}} leaderboard {{competition_name}} {{--show|--download}}`
- View submissions:
`kaggle {{[c|competitions]}} submissions {{competition_name}}`