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.0.tar.gz
(20.9 kB
view hashes)
Built Distribution
Close
Hashes for wcpan.drive.google-4.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1c078216913746b8b7605ad94b30859a56939f2492a1d15c1089019d3cc26b6 |
|
MD5 | 1e6b0d203ac47940271753c691068aa9 |
|
BLAKE2b-256 | 24033f81c01a8648017e784bbca02cabda1cf9b6ea64ccd6a2f5e053509d9450 |