Skip to main content

Asynchronous Google Drive API.

Project description

wcpan.drive.google

Asynchronous Google Drive API.

Example Usage

import os.path as op

from wcpan.drive.google import Drive


async def api_demo():
    path = op.expanduser('~/.cache/wcpan/drive/google')

    async with Drive(path) as drive:
        node = await drive.get_node_by_path('/path/to/drive/file')
        ok = await drive.download_file(node, '/path/to/local')

Command Line Usage

python3 -m wcpan.drive.google -h

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wcpan.drive.google, version 4.0.7
Filename, size File type Python version Upload date Hashes
Filename, size wcpan.drive.google-4.0.7-py3-none-any.whl (25.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size wcpan.drive.google-4.0.7.tar.gz (21.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page