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
Release history Release notifications | RSS feed
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.1.tar.gz
(21.3 kB
view hashes)
Built Distribution
Close
Hashes for wcpan.drive.google-4.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f7577c3fd40af8860db78dff563909574e2ffc878dcc4bb06913e0f922ea18a |
|
MD5 | 57b99166d5c7956e61608e9094962a1e |
|
BLAKE2b-256 | 0745616e6bfb8788d5ace4679976b8430a061d122464ba30bd5d82781aca5a34 |