libgoogle
Connect to Google Service API's.
The libgoogle package provides a function to connect to a google
service (such as Calendar, Drive and Mail), and manage credentials
and access tokens under the XDG schema.
function connect
connect(scope: str, version: str) -> googleapiclient.discovery.Resource
Connect to Google service identified by `scope` and `version`.
Args:
scope: (valid examples):
"https://www.googleapis.com/auth/gmail"
"https://www.googleapis.com/auth/gmail.readonly"
"gmail"
"gmail.readonly"
"drive.metadata.readonly"
"photoslibrary.readonly"
version: "v1", "v3", etc.
Files:
credentials: XDG_CONFIG_HOME / libgoogle / credentials.json
Must exist, or raises FileNotFoundError.
token: XDG_CACHE_HOME / libgoogle / {scope}-token.json
function set_debug
set_debug(flag: bool) -> None
Turn on/off low-level `httplib2` debugging.
Args:
flag: True to turn on debugging, False to turn off.
Release files for rlane-libgoogle 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rlane_libgoogle-1.0.6.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rlane_libgoogle-1.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / rlane_libgoogle-1.0.6.tar.gz
| Download URL | rlane_libgoogle-1.0.6.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf7c3e5110ecb522e4c72a0156b014a16b368db8cd96fc14cc957a1d7b6d8af8
|
|
BLAKE2b-256 checksum How to use checksums |
f3b8fa0405dca8bb22f57e4d92a9780a77e625d0a7246a470af25de5bd7990c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.13.0
|
Release files / rlane_libgoogle-1.0.6-py3-none-any.whl
| Download URL | rlane_libgoogle-1.0.6-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c518bc285cac151c98834c477eb04ee5893969268c10bee4457239249598c8af
|
|
BLAKE2b-256 checksum How to use checksums |
a350357580d4fc6acf497c13b941b2aa39f7cce33b4d28001e55e702bd64b0a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.13.0
|