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.3.tar.gz
(21.3 kB
view hashes)
Built Distribution
Close
Hashes for wcpan.drive.google-4.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ec34d90e36a29832997e8cd6d012bf74fb74c86e20abe6c6a17cafa36301c92 |
|
MD5 | 4484f77c18091f0dc26a47cc2816a579 |
|
BLAKE2b-256 | 9da53426df05a76140ec5f6a9a546cfbe5540d3ba275f874847abbcc6a56f727 |