Skip to main content

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

Project description

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.

Project details


Download files

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

Files for kaggleDownloader, version 4.2
Filename, size File type Python version Upload date Hashes
Filename, size kaggleDownloader-4.2-py2.py3-none-any.whl (4.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size kaggleDownloader-4.2.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page