kaggleDownloader

Helps you to download the Kaggle Dataset to your Google Colab Notebook using Kaggle Dataset API link


Keywords
Kaggle, Downloader, Dataset, Google, Colab, download, in
License
MIT
Install
pip install kaggleDownloader==1

Documentation

kaggleDownloader

Helps you download Kaggle Dataset to Google Colab Notebook or your own system in the current working directory (os.getcwd()) by using the Kaggle API Download Link and kaggle.json file obtained from the Kaggle account.

Specifications

Programming Language :- Python 3 Platforms Supported :- Google Colab Notebooks (Python 3) / Linux Files Required :- kaggle.json (to be obtained from kaggle account; kaggle_profile -> My Account -> API -> Create new API token)

How to Use?

Add the kaggle.json file to your current working directory (os.getcwd(), the directory where you wish to download your dataset to) By three lines of code you can download your kaggle dataset to your current working directory, either in Google Colab Notebooks or in your own system The lines of code are as follows:-     1)if you are installing the package         a)on your own system         pip install kaggleDownloader         b)on Google Colab Notebook         !pip install kaggleDownloader     2)Import the get_dataset function from kaggleDownloader module         from kaggleDownloader import get_dataset     3)call the get_dataset() function; there are two ways         a)get_dataset() or,         b)or you can pass the Kaggle Dataset Download API link in the get_dataset argument in string format (""); eg. SpringLeaf Dataset             get_dataset('kaggle competitions download -c springleaf-marketing-response')

Follow along the instructions and you will be ready to work on your dataset.