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.2.tar.gz (21.3 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.2-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wcpan.drive.google-4.0.2.tar.gz
  • Upload date:
  • Size: 21.3 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.2.tar.gz
Algorithm Hash digest
SHA256 c6382d9f0de0637dc0a5f8c19448330657b05cd0dc4f0e6697cc799aa0cc88e7
MD5 a28ff5c6cca72d5d2b758adf8e20ac87
BLAKE2b-256 1308d867d23f6019ec0f2e5d8368851dc374e1641afa2172fe469a516f24a9e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wcpan.drive.google-4.0.2-py3-none-any.whl
  • Upload date:
  • Size: 25.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dae74fc3cbe502a802e2a20e7905fdfe052502717225278cd6f1f16650c8c42f
MD5 a0a41d080219d04988d2341839551d95
BLAKE2b-256 cdf0c2f62fc501c641168bd3820eceb71b93c1ebe73ed13421c9345637c268d2

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