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-3.1.0.tar.gz
(17.6 kB
view hashes)
Built Distribution
Close
Hashes for wcpan.drive.google-3.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d3164f84823ad842f68fc2236a56aaaa9f855a047d4d956137fc5f966219c04 |
|
MD5 | 5291563f050774e88d4d531b6868f0dc |
|
BLAKE2b-256 | ec2d366c78f745fa2de658db7d14671f4d071e2a7526d135249e4f3efa5daa91 |