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.
Metadata
Release files for googledrivedownloader 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| googledrivedownloader-1.1.0.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| googledrivedownloader-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / googledrivedownloader-1.1.0.tar.gz
| Download URL | googledrivedownloader-1.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
100920eb4e9069b48bc2f0445edf2ebc52814bc8d410385d0b2c902cad64cc9b
|
|
BLAKE2b-256 checksum How to use checksums |
f4046a88465d01c4eea9164f0d8a82a89555d1e05a27e7b1d93b2da826c25872
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.12
|
Release files / googledrivedownloader-1.1.0-py3-none-any.whl
| Download URL | googledrivedownloader-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f4579f16520a995d97c036964b466304c5842f05ffbebeb66c3f539cbb9f3e25
|
|
BLAKE2b-256 checksum How to use checksums |
0a74674a4cfe65440441b8a9296346173fe5df9c83decde09094c16826aa06fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.12
|