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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wcpan.drive.google-4.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 96cd3ba23d1a269f32164807dd79880177e0c2651f7cbd3ad817544ab0a51a32
MD5 4e2b0c1a990193a301962dff9e11d935
BLAKE2b-256 817c02cbe63f748f8213d404631d925267e8fc1099d8b12832543d8a1bfdc9df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wcpan.drive.google-4.0.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0906e879be13a39dfe23344a85e8a5693f8bb7f55bbf154bb8b2f82fa86e5f37
MD5 6d914624384b8571a3930a24a28534f9
BLAKE2b-256 b50d90c075d840b8333f3e00ea7d49d338eddbcdb3502a86a957d077c7711264

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