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.0.1.tar.gz
(17.4 kB
view hashes)
Built Distribution
Close
Hashes for wcpan.drive.google-3.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8e9c050f8cc0e9941e309764c5cf82a2cb50b5b285ba36f4981a460fba0fa67 |
|
MD5 | cf83dd06de572f07d777bf5dd0d1d84d |
|
BLAKE2b-256 | d6d58f64dc3e82c44243a4be13814d087bed3ab6db5930b7033737bfa89401b2 |