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.

Source Distribution

wcpan.drive.google-4.0.0.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wcpan.drive.google-4.0.0-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file wcpan.drive.google-4.0.0.tar.gz.

File metadata

  • Download URL: wcpan.drive.google-4.0.0.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for wcpan.drive.google-4.0.0.tar.gz
Algorithm Hash digest
SHA256 b7df05107fa7b29ed360db9581205b76429ef8e567f97a007ff4534a148ad19a
MD5 aa3d6738ed929415ba095b10c07ffc22
BLAKE2b-256 872935546735dc8ed48281cfe576419435becb22cbe6fb1c637a7e3161b1b122

See more details on using hashes here.

File details

Details for the file wcpan.drive.google-4.0.0-py3-none-any.whl.

File metadata

  • Download URL: wcpan.drive.google-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for wcpan.drive.google-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1c078216913746b8b7605ad94b30859a56939f2492a1d15c1089019d3cc26b6
MD5 1e6b0d203ac47940271753c691068aa9
BLAKE2b-256 24033f81c01a8648017e784bbca02cabda1cf9b6ea64ccd6a2f5e053509d9450

See more details on using hashes here.

Supported by

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