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.3.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.3-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wcpan.drive.google-4.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 bacdda5b59498cdabf415260dbcf7a3f61901fe98345a16f2134b467e5977d04
MD5 65ff8a955728a988272c82c6043b5ca4
BLAKE2b-256 5e385d9185ffd016afc4c5b4e0c048ecca60e7f083efa57b48058e580ad4eb08

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wcpan.drive.google-4.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4ec34d90e36a29832997e8cd6d012bf74fb74c86e20abe6c6a17cafa36301c92
MD5 4484f77c18091f0dc26a47cc2816a579
BLAKE2b-256 9da53426df05a76140ec5f6a9a546cfbe5540d3ba275f874847abbcc6a56f727

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