@@ -159,25 +159,30 @@ Note: you will need to accept competition rules at `https://www.kaggle.com/c/<co
159
159
##### Submit to a competition
160
160
161
161
```
162
- usage: kaggle competitions submit [-h] -f FILE_NAME -m MESSAGE [-q]
163
- [competition]
162
+ usage: kaggle competitions submit [-h] [-f FILE_NAME] [-k KERNEL] -m MESSAGE [-v VERSION] [-q] [competition]
164
163
165
- required arguments:
166
- -f FILE_NAME, --file FILE_NAME
167
- File for upload (full path)
168
- -m MESSAGE, --message MESSAGE
169
- Message describing this submission
170
-
171
- optional arguments:
164
+ options:
172
165
-h, --help show this help message and exit
173
166
competition Competition URL suffix (use "kaggle competitions list" to show options)
174
167
If empty, the default competition will be used (use "kaggle config set competition")"
168
+ -f FILE_NAME, --file FILE_NAME
169
+ File for upload (full path), or the name of the output file produced by a kernel (for code competitions)
170
+ -k KERNEL, --kernel KERNEL
171
+ Name of kernel (notebook) to submit to a code competition
172
+ -m MESSAGE, --message MESSAGE
173
+ Message describing this submission
174
+ -v VERSION, --version VERSION
175
+ Version of kernel to submit to a code competition, e.g. "Version 1"
175
176
-q, --quiet Suppress printing information about the upload/download progress
176
177
```
177
178
178
179
Example:
179
180
180
- ` kaggle competitions submit favorita-grocery-sales-forecasting -f sample_submission_favorita.csv.7z -m "My submission message" `
181
+ `kaggle competitions submit favorita-grocery-sales-forecasting \
182
+ -f sample_submission_favorita.csv.7z -m "My submission message"`
183
+
184
+ `kaggle competitions submit llms-you-cant-please-them-all \
185
+ -k username/llms-can-t-please-all-submission -v 9 -f submission.csv -m "My submission message"'`
181
186
182
187
Note: you will need to accept competition rules at ` https://www.kaggle.com/c/<competition-name>/rules ` .
183
188
@@ -503,6 +508,8 @@ usage: kaggle kernels push [-h] -p FOLDER
503
508
504
509
optional arguments:
505
510
-h, --help show this help message and exit
511
+ -t N, --timeout N Limit the run time of a kernel to the given number of seconds.
512
+ The global maximum time will not be exceeded.
506
513
-p FOLDER, --path FOLDER
507
514
Folder for upload, containing data files and a special kernel-metadata.json file (https://github.com/Kaggle/kaggle-api/wiki/Kernel-Metadata). Defaults to current working directory
508
515
```
0 commit comments