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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wcpan.drive.google-4.0.4.tar.gz
  • Upload date:
  • Size: 21.4 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.4.tar.gz
Algorithm Hash digest
SHA256 f97087fe9f37aa5fcb02206bbefade8c09ab5d94a447a98d51de33ab94cddba8
MD5 c339ba339bfcff59dd6565dbd64b08cb
BLAKE2b-256 325573822db62f3b8df1302a96c30282d3f663f2f1d11b50248b8f06c186fc0e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wcpan.drive.google-4.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3016006e29902b2ae68a0f8d5c0a4bbbf3f93007713e2ca4306e722bb3852799
MD5 4bd64e21247b486f15666c0f581f15a2
BLAKE2b-256 b27f2f4d03a113f901816a37a38f97512dfa73c924a01ae56d097e60ae9eebd9

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