kaggle
Access Kaggle resources anywhere
What it is and what it does
Kaggle is the official command-line interface to the Kaggle platform, allowing developers and data scientists to interact with competitions, datasets, models, and notebooks directly from the terminal. It wraps the kagglesdk library and exposes Kaggle's core workflows—downloading competition data, uploading and managing datasets, submitting competition entries, and managing Kaggle notebooks—without opening a browser.
The package depends on 11 runtime libraries including requests for HTTP communication, protobuf for serialization, tqdm for progress bars, and python-dotenv for credential management. It is actively maintained, requires Python 3.11 or later, and ships as a pure Python wheel with no compiled dependencies, making installation straightforward across platforms.
Use it for:
- Download competition datasets and submit predictions to Kaggle competitions from a CI/CD pipeline or local machine.
- Automate dataset uploads and version management without manual web interface interaction.
- Manage Kaggle notebooks (kernels) and retrieve their outputs programmatically.
- Host and configure new competitions end-to-end using scaffold and launch commands.
- Browse and interact with Kaggle discussion forums from the command line.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Command-line interface to interact with Kaggle—download competition data, manage datasets and models, submit to competitions, and browse forums.
Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive Apache 2.0 license, and installs with low friction. It is the official Kaggle CLI and is well-suited for anyone who regularly works with Kaggle competitions, datasets, or models and prefers command-line or scripted workflows over the web interface.
Install
kaggle on PyPI
pip
pip install kaggleuv
uv add kagglepoetry
poetry add kaggleInstalling kaggle
Before you install
Low install friction; pure Python wheel with no compiled dependencies. Actively maintained with a release 22 days ago and 7497 GitHub stars. Requires Python 3.11 or later.
License in practice
Apache 2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for both personal and business projects.
Quickstart
pip install kaggle
kaggle --help
kaggle datasets list
kaggle competitions list
Requires Python 3.11 or later. Authentication via Kaggle API credentials (typically stored in ~/.kaggle/kaggle.json) is needed for most operations.
Verify before relying
- Whether all Kaggle.com features are fully supported via CLI or if some require the web interface.
- Rate limits or throttling behavior when making bulk requests through the CLI.
- Whether offline operation is possible or if all commands require live internet connectivity to Kaggle servers.
Package facts
| License | Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 11 — bleach, jupytext, kagglesdk, packaging, protobuf, python-dateutil, python-dotenv, python-slugify, requests, tqdm, urllib3 |
| Maintenance | actively maintained — 22 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 815,781/month — #4,989 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: kaggle-2.2.4-py3-none-any.whl
Keywords: API, Kaggle
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
kagglehubkagglehub provides Python access to Kaggle…
permissive · top 5,000 on PyPI
kagglesdkKagglesdk provides Python bindings to Kaggle's…
permissive · top 5,000 on PyPI
kaggle-environmentsKaggle Environments provides a framework for…
unclear · top 15,000 on PyPI
arckitLoad, visualize, and evaluate solutions on the…
permissive · top 15,000 on PyPI
tensorflow-hubDownloads and loads pre-trained TensorFlow…
permissive · top 5,000 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
AI-WQ-packageSupports participation in the ECMWF AI Weather…
permissive · top 15,000 on PyPI
polylith-cliA command-line tool that scaffolds and manages…
permissive · top 15,000 on PyPI
hatchHatch is a modern Python project manager that…
permissive · top 1,000 on PyPI
hatch-vcsA Hatch plugin that automatically determines…
permissive · top 1,000 on PyPI