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-5.0.0.tar.gz
(22.4 kB
view hashes)
Built Distribution
Close
Hashes for wcpan.drive.google-5.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1cd0d3134ee24d556ba6ba661ca0544976e55395b2791d0d8a73a2013943511 |
|
MD5 | af0119278f94bac70e4ecf499814747d |
|
BLAKE2b-256 | f5f9675439ae1aa9fed7395bfc4e5ac55fdc874d5050903c1fde0e54272bb653 |