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.2.tar.gz
(17.4 kB
view hashes)
Built Distribution
Close
Hashes for wcpan.drive.google-3.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e856f7d0ab6b78203be989f0b79f93bfcfbb8c9179b8e0b71b666e95cfed995d |
|
MD5 | 6b621937f68797118f207e2ffec339b9 |
|
BLAKE2b-256 | 0473e8cc9a372b5b1d6694c86b12a0254030523fdaf8ddb90c57c8d43d2f775d |