Jobs & Careers
Kaggle CLI Cheat Sheet – KDnuggets

Image by Author
The Kaggle CLI (Command Line Interface) allows you to interact with Kaggle’s datasets, competitions, notebooks, and models directly from your terminal. This is useful for automating downloads, submissions, and dataset management without needing a web browser. Most of my GitHub Action workflows use Kaggle CLI for downloading or pushing datasets, as it is the fastest and most efficient way.
1. Installation & Setup
Make sure you have Python 3.10+ installed. Then, run the following command in your terminal to install the official Kaggle API:
To obtain your Kaggle credentials, download the kaggle.json file from your Kaggle account settings by clicking “Create New Token.”
Next, set the environment variables in your local system:
- KAGGLE_USERNAME=
- KAGGLE_API_KEY=
- KAGGLE_API_KEY=
2. Competitions
Kaggle Competitions are hosted challenges where you can solve machine learning problems, download data, submit predictions, and see your results on the leaderboard.
The CLI helps you automate everything: browsing competitions, downloading files, submitting solutions, and more.
List Competitions
kaggle competitions list -s
Shows a list of Kaggle competitions, optionally filtered by a search term. Useful for discovering new challenges to join.
List Competition Files
kaggle competitions files
Displays all files available for a specific competition, so you know what data is provided.
Download Competition Files
kaggle competitions download [-f ] [-p ]
Downloads all or specific files from a competition to your local machine. Use -f to specify a file, -p to set the download folder.
Submit to a Competition
kaggle competitions submit -f -m ""
Upload your solution file to a competition with an optional message describing your submission.
List Your Submissions
kaggle competitions submissions
Shows all your previous submissions for a competition, including scores and timestamps.
View Leaderboard
kaggle competitions leaderboard [-s]
Displays the current leaderboard for a competition. Use -s to show only the top entries.
3. Datasets
Kaggle Datasets are collections of data shared by the community. The dataset CLI commands help you find, download, and upload datasets, as well as manage dataset versions.
List Datasets
Finds datasets on Kaggle, optionally filtered by a search term. Great for discovering data for your projects.
List Files in a Dataset
Shows all files included in a specific dataset, so you can see what’s available before downloading.
Download Dataset Files
kaggle datasets download / [-f ] [--unzip]
Downloads all or specific files from a dataset. Use –unzip to automatically extract zipped files.
Initialize Dataset Metadata
Creates a metadata file in a folder, preparing it for dataset creation or versioning.
Create a New Dataset
kaggle datasets create -p
Uploads a new dataset from a folder containing your data and metadata.
Create a New Dataset Version
kaggle datasets version -p -m ""
Uploads a new version of an existing dataset, with a message describing the changes.
4. Notebooks
Kaggle Notebooks are executable code snippets or notebooks. The CLI allows you to list, download, upload, and check the status of these notebooks, which is useful for sharing or automating analysis.
List Kernels
Finds public Kaggle notebooks (kernels) matching your search term.
Get Kernel Code
Downloads the code for a specific kernel to your local machine.
Initialize Kernel Metadata
Creates a metadata file in a folder, preparing it for kernel creation or updates.
Update Kernel
Uploads new code and runs the kernel, updating it on Kaggle.
Get Kernel Output
kaggle kernels output / -p
Downloads the output files generated by a kernel run.
Check Kernel Status
Shows the current status (e.g., running, complete, failed) of a kernel.
5. Models
Kaggle Models are versioned machine learning models you can share, reuse, or deploy. The CLI helps manage these models, from listing and downloading to creating and updating them.
List Models
Finds public models on Kaggle matching your search term.
Get a Model
Downloads a model and its metadata to your local machine.
Initialize Model Metadata
Creates a metadata file in a folder, preparing it for model creation.
Create a New Model
Uploads a new model to Kaggle from your local folder.
Update a Model
Uploads a new version of an existing model.
Delete a Model
Removes a model from Kaggle.
6. Config
Kaggle CLI configuration commands control default behaviors, such as download locations and your default competition. Adjust these settings to make your workflow smoother.
View Config
Displays your current Kaggle CLI configuration settings (e.g., default competition, download path).
Set Config
Sets a configuration value, such as default competition or download path.
Unset Config
Removes a configuration value, reverting to default behavior.
7. Tips
- Use -h or –help after any command for detailed options and usage
- Use -v for CSV output, -q for quiet mode
- You must accept competition rules on the Kaggle website before downloading or submitting to competitions
Abid Ali Awan (@1abidaliawan) is a certified data scientist professional who loves building machine learning models. Currently, he is focusing on content creation and writing technical blogs on machine learning and data science technologies. Abid holds a Master’s degree in technology management and a bachelor’s degree in telecommunication engineering. His vision is to build an AI product using a graph neural network for students struggling with mental illness.
Jobs & Careers
5 Strategic Steps to a Seamless AI Integration

Sponsored Content
Predictive text and autocorrect when you’re sending an SMS or email; Real-time traffic and fastest routes suggestion with Google/Apple Maps; Setting alarms and controlling smart devices using Siri and Alexa. These are just a few examples of how humans utilize AI. Often unseen, but AI now powers almost everything in our lives.
That’s why the enterprises globally have also been favoring and supporting its implementation. According to the latest survey by McKinsey, 78 percent of respondents report that their organizations use AI in at least one business function. Respondents most often report using the technology in IT, marketing, and sales functions, as well as other service operations. AI is growing because it brings a transformative edge.
But truly harnessing AI’s potential requires meticulous integration. Many AI projects stall after pilot phases. Some of the reasons include misaligned priorities, poor data readiness, and cultural readiness. In the upcoming sections, we’ll explore how businesses can embed new-age intelligence more effectively.
What is AI Adoption?
It simply means using AI technologies in an organization’s workflow, systems, and decision-making processes. From writing a quick email to preparing a PowerPoint presentation to analyzing customer data, AI integration enhances all facets of performance.
Consider a food delivery app. AI integration can optimize delivery routes in real time. Reduce food waste. Personalize restaurant recommendations. Forecast demand spikes. Detect fraudulent transactions. But how do you foster this crucial cultural shift in your line of business while driving competitive advantage? Leaders can adhere to a structured roadmap (five strategic steps) to get started.
Five Steps to Successful AI Integration
Step 1: What Are You Trying to Solve?
AI integration should always begin with a clearly defined strategic purpose. However, organizations often pursue AI for its novelty. Because competitors are already experimenting with it. And no one wants to be left behind. In that pursuit, businesses undertake AI initiatives, which often end up becoming isolated pilots that never scale.
Instead, ask questions like, “What measure value can AI unlock? Which KPIs will define success?” For instance, if the objective is to personalize customer experiences, then the AI initiative should focus on:
- Recommending the right products
- Tailoring communication
- Providing an omnichannel experience
- Predicting customer needs
That’s why defining the core problem first is so important. It informs subsequent decisions. An AI consulting partner can also help you get it right.
Step 2: Build a Strong Data Foundation
AI learns from historical data. And sometimes, that data might reflect the world’s imperfections. One example of this is the AI recruitment tool that Amazon onboarded some time ago. It was trained on a dataset containing resumes mostly from male candidates. And AI interpreted that women candidates are less preferable. It was later scraped. However, this highlights that any bias or inaccuracies in the data can impact the outcome. Read more on how to implement responsible AI.
That’s why cleansing and labeling data is essential to reduce errors and bias. That said, to maximize extracting value from current internal data assets, enterprises also need to:
- Consolidate siloed sources into centralized, shareable data lakes
- Establish data governance protocols covering ownership, compliance, and security
Step 3: Train Your Employees
Will AI take away my job? This is one of the most asked questions by people working in the services sector today. While AI has its merits in taking over rote tasks, it can’t replace human intelligence and experience. That’s why there’s a need for careful adaptation. Employees need to take on new responsibilities such as:
- Interpreting AI insights to inform decisions
- Taking more strategic initiatives
- Working in tandem with AI
This will help people feel safer with their jobs and harness the potential of AI more efficiently.
Step 4: Start Small, Scale Smart
Large-scale, enterprise-wide AI rollouts may seem like a tempting choice, but they are seldom a good fit. Instead, small, high-impact pilots should be the go-to approach. For instance, instead of integrating AI immediately across the entire marketing division in the business, let marketing heads and some executives from various niches participate in it. Test a hypothesis or perform a comparative analysis (just an example). Measure the efficacy of those who used AI tools vs those who worked without it for a week?
Metrics can be speed, accuracy, output, and results. If the winner is the group that uses AI, then scale this project further. This helps:
- Build organizational confidence in AI
- Provides measurable ROI early on
- Minimizes risks of operational disruption by testing first
Step 5: Embed Responsible and Ethical AI Practices
Trust is the cornerstone of AI integration. As all AI systems interact with people, businesses must ensure that their models operate ethically, responsibly, and securely. To get started:
- Conduct algorithmic audits to assess for bias
- Enabling explainability features so users understand why a model made that decision
- Ensure clear communication about how AI is used and the data it relies on
These five steps can help you build and integrate responsible and intelligent AI systems that won’t fall apart when challenges arise. That said, promoting AI literacy, reskilling initiatives, and open communication should form an integral component of this exercise. This will keep everyone on board while offering experienced, more desirable results.
Final Thoughts
Today, AI isn’t just a technology in progress but a revolution. It’s a key to getting real, measurable results on a scale. However, the real challenge lies in integrating it seamlessly and responsibly into complex business processes. That’s why adhering to structured roadmaps rooted in a clear strategic vision is crucial. Doing this on your own can feel overwhelming for businesses whose primary expertise doesn’t lie in revolutionary technologies. That’s where the right AI consulting partner can step in. Turning complexity into clarity.
—
Author: Devansh Bansal, VP – Presales & Emerging Technology
Bio: Devansh Bansal, Vice President – Presales & Emerging Technology, with a stint of over two decades has steered fast growth and has played a key role in evolving Damco’s technology business to respond to the changes across multiple industry sectors. He is responsible for thoroughly understanding complex end-to-end customer solutions and making recommendations, estimations, and proposals. Devansh has a proven track record of creating differentiated business-driven solutions to help our clients gain a competitive advantage.
Jobs & Careers
Nagaland University Brings Fractals Into Quantum Research

Nagaland University has entered the global quantum research spotlight with a breakthrough study that brings nature’s fractals into the quantum world.
The work, led by Biplab Pal, assistant professor of physics at the university’s School of Sciences, demonstrates how naturally occurring patterns such as snowflakes, tree branches, and neural networks can be simulated at the quantum scale.
Published in the peer-reviewed journal Physica Status Solidi – Rapid Research Letters, the research could influence India’s National Quantum Mission by broadening the materials and methods used to design next-generation quantum devices.
Fractals—repeating patterns seen in coastlines, blood vessels, and lightning strikes—have long fascinated scientists and mathematicians. This study uses those self-similar structures to model how electrons behave under a magnetic field within fractal geometries. Unlike most quantum device research that relies on crystalline materials, the work shows that non-crystalline, amorphous materials could also be engineered for quantum technologies.
“This approach is unique because it moves beyond traditional crystalline systems,” Pal said. “Our findings show that amorphous materials, guided by fractal geometries, can support the development of nanoelectronic quantum devices.”
The potential applications are wide-ranging. They include molecular fractal-based nanoelectronics, improved quantum algorithms through finer control of electron states, and harnessing the Aharonov-Bohm caging effect, which traps electrons in fractal geometries for use in quantum memory and logic devices.
University officials called the study a milestone for both Nagaland University and India’s quantum research ecosystem. “Our research shows a new pathway where naturally inspired fractal geometries can be applied in quantum systems,” vice-chancellor Jagadish K Patnaik said. “This could contribute meaningfully to the development of future quantum devices and algorithms.”
With this study, Nagaland University joins a small group of Indian institutions contributing visibly to international quantum research.
Jobs & Careers
Google Launches Agent Payments Protocol to Standardise AI Transactions

Google on Wednesday announced the Agent Payments Protocol (AP2), an open standard designed for AI agents to conduct secure and verifiable payments.
The protocol, developed with more than 60 payments and technology companies, extends Google’s existing Agent2Agent (A2A) and Model Context Protocol (MCP) frameworks.
Stavan Parikh, vice president and general manager of payments at Google, said the rise of autonomous agents requires a new foundation for trust. He added that AP2 establishes the foundation for authorization, authenticity, and accountability in agent-led transactions.
“AP2 provides a trusted foundation to fuel a new era of AI-driven commerce. It establishes the core building blocks for secure transactions, creating clear opportunities for the industry–including networks, issuers, merchants, technology providers, and end users–to innovate on adjacent areas like seamless agent authorization and decentralized identity,” Parikh said.
Unlike traditional payment systems that assume a human directly initiates a purchase, AP2 addresses the challenges of proving intent and authority when an AI acts on a user’s behalf. The framework uses cryptographically signed digital contracts called Mandates to serve as verifiable proof of a user’s instructions. These can cover both real-time transactions, where a customer is present, and delegated tasks, such as buying concert tickets automatically under pre-approved conditions.
Rao Surapaneni, vice president and general manager of business applications platform at Google Cloud, said the protocol provides secure, compliant transactions between agents and merchants while supporting multiple payment types, from cards to stablecoins.
Google said AP2 will also support cryptocurrency payments through an extension called A2A x402, developed in partnership with Coinbase, Ethereum Foundation and MetaMask. This allows agents to handle stablecoin payments within the same framework.
Industry players expressed support for the initiative. Luke Gebb, executive vice president of Amex Digital Labs, said the rise of AI commerce makes trust and accountability more important than ever, and AP2 is intended to protect customers.
Coinbase head of engineering Erik Reppel said the inclusion of x402 showed that agent-to-agent payments aren’t just an experiment anymore and are becoming part of how developers actually build.
Adyen co-chief executive Ingo Uytdehaage said the protocol creates a “common rulebook” to ensure security and interoperability across the payments ecosystem.
Backers include Mastercard, PayPal, Revolut, Salesforce, Worldpay, Accenture, Adobe, Deloitte and Dell, who said the framework could open up opportunities for secure agent-driven commerce ranging from consumer shopping to enterprise procurement.
Google has published the technical specifications and reference implementations in a public GitHub repository and invited the wider payments and technology community to contribute to its development.
-
Business3 weeks ago
The Guardian view on Trump and the Fed: independence is no substitute for accountability | Editorial
-
Tools & Platforms1 month ago
Building Trust in Military AI Starts with Opening the Black Box – War on the Rocks
-
Ethics & Policy2 months ago
SDAIA Supports Saudi Arabia’s Leadership in Shaping Global AI Ethics, Policy, and Research – وكالة الأنباء السعودية
-
Events & Conferences4 months ago
Journey to 1000 models: Scaling Instagram’s recommendation system
-
Jobs & Careers3 months ago
Mumbai-based Perplexity Alternative Has 60k+ Users Without Funding
-
Podcasts & Talks2 months ago
Happy 4th of July! 🎆 Made with Veo 3 in Gemini
-
Education2 months ago
Macron says UK and France have duty to tackle illegal migration ‘with humanity, solidarity and firmness’ – UK politics live | Politics
-
Education3 months ago
VEX Robotics launches AI-powered classroom robotics system
-
Podcasts & Talks2 months ago
OpenAI 🤝 @teamganassi
-
Funding & Business3 months ago
Kayak and Expedia race to build AI travel agents that turn social posts into itineraries