Metadata-Version: 2.1
Name: wcpan.drive.google
Version: 3.0.1
Summary: Asynchronous Google Drive API.
Home-page: https://github.com/legnaleurc/wcpan.drive.google
Author: Wei-Cheng Pan
Author-email: legnaleurc@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >= 3.7
Description-Content-Type: text/markdown
Provides-Extra: tests
Requires-Dist: PyYAML (~=3.12)
Requires-Dist: aiohttp (~=3.3.2)
Requires-Dist: arrow (~=0.12.1)
Requires-Dist: wcpan.logger (~=1.2.3)
Provides-Extra: tests
Requires-Dist: wcpan.worker (~=3.0.1); extra == 'tests'

# wcpan.drive.google

Asynchronous Google Drive API.

## Example Usage

```python
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

```sh
python3 -m wcpan.drive.google -h
```


