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.6.tar.gz
(21.4 kB
view hashes)
Built Distribution
Close
Hashes for wcpan.drive.google-4.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5889bbf2dadaa415925ac023bf10934317f305f95848979a8a07bb8709c3008 |
|
MD5 | f956df3b896442965af10abd289c9222 |
|
BLAKE2b-256 | 3d5cf712fabde65db94dc3c93b9bfad58abfaa1b50a5dd94b03d8c9184e1b46e |