extrasuite
Python client library for ExtraSuite's v2 session-token authentication flow.
Installation
pip install extrasuite
Configuration
Use one of these:
EXTRASUITE_SERVER_URL=https://your-server.example.com~/.config/extrasuite/gateway.jsoncontaining{"EXTRASUITE_SERVER_URL": "https://your-server.example.com"}CredentialsManager(server_url="https://your-server.example.com")CredentialsManager(service_account_path="/path/to/service-account.json")
Programmatic Usage
from extrasuite.client import CredentialsManager
manager = CredentialsManager(server_url="https://your-server.example.com")
credential = manager.get_credential(
command={"type": "sheet.pull", "file_url": "https://docs.google.com/..."},
reason="User asked to inspect the spreadsheet",
)
print(credential.kind)
print(credential.service_account_email)
print(credential.expires_in_seconds())
Session Flow
CredentialsManageropensGET /api/token/auth?port=<port>in the browser when no valid session exists- The browser is redirected to localhost with a short-lived auth code
- The client exchanges that code at
POST /api/auth/session/exchange - The returned session token is stored in
~/.config/extrasuite/session.json - Each command exchanges the session token at
POST /api/auth/token
Credential cache files are stored under ~/.config/extrasuite/credentials/.
Service Account Mode
For non-interactive environments:
from extrasuite.client import CredentialsManager
manager = CredentialsManager(service_account_path="/path/to/service-account.json")
This mode requires:
pip install google-auth
Metadata
Release files for extrasuite 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| extrasuite-0.9.0.tar.gz | 121.2 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| extrasuite-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 428.0 kB
Release files / extrasuite-0.9.0.tar.gz
| Download URL | extrasuite-0.9.0.tar.gz |
|---|---|
| Size | 121.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
145dd12784f9be78bc93edcdae3b83cc086686118037926d1dfec26e4024c123
|
|
BLAKE2b-256 checksum How to use checksums |
d6d134348a8bfed6640ef4ea2caa87f7aeab70f94da39e43f8827701d09dbe48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.
Transparency logRelease files / extrasuite-0.9.0-py3-none-any.whl
| Download URL | extrasuite-0.9.0-py3-none-any.whl |
|---|---|
| Size | 306.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8829408164beefdf949d359421450406e93c9a869d1d454c96a92262289f08a
|
|
BLAKE2b-256 checksum How to use checksums |
cdc0bdff508b712d2504021da8aa023706ec268c18cdb09c59c3710bfb0af6b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.
Transparency logSecurity for extrasuite 0.9.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for extrasuite-0.9.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.