kagglehub is a Python library for accessing Kaggle resources directly from Python code. It provides a simple API for downloading datasets, models, competition files, and notebook outputs without requiring users to manually manage every URL or file path. The library is designed to work both inside and outside Kaggle Notebooks, with native behavior that can adapt when it runs in Kaggle’s hosted notebook environment. It is useful for machine learning workflows where data, models, and notebook artifacts need to be pulled into scripts, experiments, or pipelines. kagglehub also supports authentication so users can access private or restricted resources when their account has permission. Its main value is making Kaggle assets easier to consume programmatically in Python-first data science and AI development workflows.

Features

  • Python API for Kaggle resource access
  • Dataset, model, competition, and notebook-output downloads
  • Native integration with Kaggle Notebooks
  • Authentication support for account-based access
  • Simple installation through pip or conda
  • Useful for reproducible Python data workflows

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow kagglehub

kagglehub Web Site

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of kagglehub!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries

Registered

22 hours ago