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.
Source Distribution
Built Distribution
Hashes for kaggleDownloader-4.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10103b4d7eb8adf699055b7e552ded58dac8974212f3bc9b12e2d0ebd4f072e6 |
|
MD5 | 083e2b94a3563afb6c6e2ba10c1541a0 |
|
BLAKE2b-256 | d3e41295bb4fbf9533dfe49a3764a87482c15f3f7bd4f5f9f66191f2cacaf53b |