Skip to main content

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

Project description


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.


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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kaggleDownloader-4.2.tar.gz (3.1 kB view hashes)

Uploaded source

Built Distribution

kaggleDownloader-4.2-py2.py3-none-any.whl (4.1 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page