LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

kaggle

CLI for Kaggle, a data science competition platform

TLDR

Download competition files
$ kaggle competitions download -c [competition-name]
copy
Submit to competition
$ kaggle competitions submit -c [competition-name] -f [submission.csv] -m "[message]"
copy
Search datasets
$ kaggle datasets list -s "[search-term]"
copy
Download a dataset
$ kaggle datasets download -d [owner/dataset-name]
copy
List competition leaderboard
$ kaggle competitions leaderboard [competition-name]
copy
Download model
$ kaggle models download -m [owner/model-name/framework/variation]
copy
Create new dataset
$ kaggle datasets create -p [path/to/dataset]
copy
View API credentials
$ kaggle config view
copy

SYNOPSIS

kaggle command subcommand [options]

DESCRIPTION

kaggle is the CLI for Kaggle, a data science competition platform. It manages competition data, datasets, notebooks, and models.Authentication requires API credentials from kaggle.com/account. Place kaggle.json in ~/.kaggle/ with proper permissions (chmod 600).Competition workflow: download gets data files, work locally, submit uploads predictions. leaderboard shows standings; submissions lists your entries.Datasets are versioned. download gets current version; create initializes new dataset; version adds updates. init generates dataset-metadata.json for new datasets.Kernels (notebooks) can be pushed to Kaggle for cloud execution. pull downloads notebooks; push uploads with kernel-metadata.json defining runtime settings.

PARAMETERS

-c, --competition name

Competition name.
-d, --dataset name
Dataset in owner/dataset format.
-m, --message text
Submission message.
-f, --file path
File to submit or upload.
-p, --path directory
Local directory path.
-o, --output directory
Download output directory.
--unzip
Unzip downloaded files.
-s, --search term
Search term for listings.
--sort-by field
Sort results by field.
--force
Overwrite existing files without prompting.
-q, --quiet
Suppress verbose output.
-v
Verbose mode for tabular listings.
-h, --help
Show help for the command or subcommand.

COMMANDS

competitions list|files|download|submit|submissions|leaderboard

Manage competition data and submissions.
datasets list|files|download|create|version|init|metadata|status
Browse and manage datasets.
kernels list|init|push|pull|output|status
Manage notebooks (kernels).
models list|get|files|download
Access Kaggle models.
config view|set|unset
Manage configuration.

INSTALL

nix profile install nixpkgs#kaggle
copy

CAVEATS

Requires Kaggle account and API key. Some competitions have acceptance terms. Large datasets may take time to download. API rate limits apply. Dataset uploads need metadata file.

HISTORY

Kaggle was founded by Anthony Goldbloom and Ben Hamner in 2010 as a platform for predictive modeling competitions. Acquired by Google in 2017. The CLI was added to enable programmatic access to platform resources. Kaggle expanded to include datasets, notebooks, and courses. It hosts one of the largest data science communities with millions of members.

SEE ALSO

dvc(1), mlflow(1), jupyter(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid