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 | Provenance | Actions |
|---|---|---|---|---|
| googledrivedownloader-1.1.0.tar.gz | 3.2 kB | Without provenance | Details for googledrivedownloader-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| googledrivedownloader-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for googledrivedownloader-1.1.0-py3-none-any.whl |
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
|
Security for googledrivedownloader 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.