kagglehub
Python library to access Kaggle resources
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. ...