Minimal class to download shared files from Google Drive.
Project Links
Meta
Author: Davide Abati and Andrea Palazzi
Maintainer: Andrea Palazzi
Requires Python: >=3.8
Classifiers
google-drive-downloader
Minimal class to download shared files from Google Drive.
How to install:
This package is on PyPI. Installing is as simple as
pip install googledrivedownloader
Hello World
from googledrivedownloader import download_file_from_google_drive
# Single image file
download_file_from_google_drive(file_id='1H1ett7yg-TdtTt6mj2jwmeGZaC8iY1CH',
dest_path='data/crossing.jpg')
# Zip archive
download_file_from_google_drive(file_id='13nD8T7_Q9fkQzq9bXF2oasuIZWao8uio',
dest_path='data/docs.zip', unzip=True)
Tips
- Set
showsize=Trueto see the download progress - Set
overwrite=Trueyou really want to overwrite an already existent file.
1.1.0
Jan 16, 2025
1.0.0
Jan 08, 2025
0.4
May 20, 2019
0.3
Dec 11, 2017
0.2
Dec 08, 2017
0.1
Dec 08, 2017
Wheel compatibility matrix
Files in release
Extras:
None
Dependencies:
requests