easy wrapper for downloading google drive files using only shareable link
Project description
GdDownloader
Package to download files from google drive given shared link
Installation
pip install gddownloader
Development
git clone git@github.com:deven96/drive_downloader.git
Running the tests
cd drive_downloader/gddownloader/
python __tests__/__init__.py
Usage
Files can be downloaded from google drive providing one has a valid shared link. One of two ways can be used to download the files : Single or according to an example csv
from gddownloader.core import GDownloader, CsvGDownloader
# Single download
share_link = r"https://drive.google.com/open?id=1Rp4Pu257IlfuoFX3sEarm8Mgl75vi1U5"
dwnloader = GDownloader(share_link)
print(gdwnloader.download_link)
dwnloader.download()
# multiple download with csv
csv_path = "example.csv"
csvdwnloader = CsvGDownloader(csv_path)
print(round(csvdwnloader.total_size, 0))
csvdwnloader.download()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
GdDownloader-0.0.1.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for GdDownloader-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1293ee295cfcd0afa3b3651602229063b82efac60bdab326692183610ff467ef |
|
MD5 | 95c86f41b31f69ecd139cac0f2d6e977 |
|
BLAKE2b-256 | 2adf92ff77d5410c31ca2ea1c788f9608696d8cb88245de8586dda615e10552f |