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
File details
Details for the file kaggleDownloader-4.2.1.tar.gz
.
File metadata
- Download URL: kaggleDownloader-4.2.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60d948aef847bf0ae23329ca303cb19b26b76cfca9924b745870b55e6d80a2b1 |
|
MD5 | 543d92120e6f23caf0b5668b5ccd2364 |
|
BLAKE2b-256 | a03cea77ad628ba17c3c611698be2ff87c0b2d5d29dfc73ee6820ac36546a258 |
File details
Details for the file kaggleDownloader-4.2.1-py3-none-any.whl
.
File metadata
- Download URL: kaggleDownloader-4.2.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10103b4d7eb8adf699055b7e552ded58dac8974212f3bc9b12e2d0ebd4f072e6 |
|
MD5 | 083e2b94a3563afb6c6e2ba10c1541a0 |
|
BLAKE2b-256 | d3e41295bb4fbf9533dfe49a3764a87482c15f3f7bd4f5f9f66191f2cacaf53b |