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.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

googledrivedownloader-1.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for googledrivedownloader-1.1.0.tar.gz
Algorithm Hash digest
SHA256 100920eb4e9069b48bc2f0445edf2ebc52814bc8d410385d0b2c902cad64cc9b
MD5 d7be089d660bdcdcedc90ef9d400f186
BLAKE2b-256 f4046a88465d01c4eea9164f0d8a82a89555d1e05a27e7b1d93b2da826c25872

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for googledrivedownloader-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4579f16520a995d97c036964b466304c5842f05ffbebeb66c3f539cbb9f3e25
MD5 ce4ff18b399a209abd99c2711e26cb03
BLAKE2b-256 0a74674a4cfe65440441b8a9296346173fe5df9c83decde09094c16826aa06fc

See more details on using hashes here.

Supported by

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