Skip to main content

GdDownloader

Package to download files from google drive given shared link

Build Status PyPI version Coverage Status

Installation

    pip install gddownloader

Development

    git clone git@github.com:deven96/drive_downloader.git

Documentation

Github Pages

Running the tests

    cd drive_downloader/gddownloader/
    python tests/__init__.py

Usage

Files can be downloaded from google drive providing one has a valid shared link. One of two ways can be used to download the files : Single or according to an example csv

    from gddownloader.core import GDownloader, CsvGDownloader

    # Single download
    share_link = r"https://drive.google.com/open?id=1Rp4Pu257IlfuoFX3sEarm8Mgl75vi1U5"
    dwnloader = GDownloader(share_link)
    print(gdwnloader.download_link)
    dwnloader.download()

    # multiple download with csv
    csv_path = "example.csv"
    csvdwnloader = CsvGDownloader(csv_path)
    print(round(csvdwnloader.total_size, 0))
    csvdwnloader.download()

Contribution

You are very welcome to modify and use them in your own projects.

Please keep a link to the original repository. If you have made a fork with substantial modifications that you feel may be useful, then please open a new issue on GitHub with a link and short description.

License (MIT)

This project is opened under the MIT 2.0 License which allows very broad use for both academic and commercial purposes.

Metadata

Release files for GdDownloader 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for GdDownloader 0.0.3
File Size Uploaded Provenance Actions
GdDownloader-0.0.3.tar.gz 4.6 kB Without provenance Details for GdDownloader-0.0.3.tar.gz

Release files / GdDownloader-0.0.3.tar.gz

Download URL GdDownloader-0.0.3.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
78c581051261bbc170808ba256e58149dedfe938f429aab904d9376a2ac18bc1
BLAKE2b-256 checksum
How to use checksums
6efed6c1b8fd9b788cdefbd47905e3bfe21afd00c07f06939b7cd6556c37ace9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

Security for GdDownloader 0.0.3

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.

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page