Skip to main content

Minimal class to download shared files from Google Drive.

Project description

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=True to see the download progress
  • Set overwrite=True you really want to overwrite an already existent file.

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

googledrivedownloader-1.0.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

googledrivedownloader-1.0.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file googledrivedownloader-1.0.0.tar.gz.

File metadata

  • Download URL: googledrivedownloader-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for googledrivedownloader-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b565a454945506a32370b0c9a47731bd2ac9701159e3dfe262d194d4d60f4cbc
MD5 cca51dc854fba6f9fc7f639fcb103c43
BLAKE2b-256 7d13606bf0c78f5602d3380896d5465ea1f041172a9432cf3cabb3e4f7a74b95

See more details on using hashes here.

File details

Details for the file googledrivedownloader-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for googledrivedownloader-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dcdc42a48df62eaa1732b93664c7b56c4d49218b9c28fa7868a39f6481bd58b9
MD5 2f7f716d36ff5ba6ea14b812106c1af1
BLAKE2b-256 09c753b3e72e70adf6f8ca883698df9dc47c8c293c8d56e29b32a0f64443f210

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page