gassist-text
A Python library for interacting with Google Assistant API via text
What it is and what it does
gassist_text is a thin Python wrapper around the Google Assistant gRPC API that lets you send text queries to Google Assistant and receive responses programmatically. It handles the gRPC transport layer and credential management, reducing boilerplate for applications that need to integrate Assistant capabilities without building a full voice interface.
The library depends on google-auth, grpcio, protobuf, and requests to manage authentication and communicate with Google's servers. It requires Python 3.11 or later and a valid OAuth credentials file (obtained through Google Cloud setup). The package is actively maintained, has no known security vulnerabilities, and installs with minimal friction.
Use it for:
- Build a text-based chatbot or voice assistant interface that delegates to Google Assistant for fulfillment.
- Integrate Google Assistant capabilities into a Python application without managing raw gRPC protocol details.
- Automate routine queries (weather, news, smart home commands) via text in a headless environment.
- Create a custom control panel or dashboard that sends commands to Google Assistant and captures responses.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Wraps the Google Assistant API to send text queries and receive responses via gRPC, handling authentication and session management.
Yes, if you need to send text commands to Google Assistant from a Python application and have already obtained OAuth credentials. The library is actively maintained, has low install friction, and is licensed permissively. Be aware that many Assistant features (routines, media controls, broadcast commands) have known limitations documented by Google, so verify your use case works before committing to it.
Install
gassist-text on PyPI
pip
pip install gassist-textuv
uv add gassist-textpoetry
poetry add gassist-textInstalling gassist-text
Before you install
Low friction install with four standard runtime dependencies. Actively maintained as of August 2026, with a recent commit history and no known vulnerabilities.
License in practice
Apache-2.0 permissive license allows use, modification, and distribution with minimal restrictions.
Quickstart
import json
import google.oauth2.credentials
from gassist_text import TextAssistant
with open('/path/to/credentials.json', 'r') as f:
credentials = google.oauth2.credentials.Credentials(token=None, **json.load(f))
with TextAssistant(credentials) as assistant:
response = assistant.assist('tell me a joke')
print(response[0])
Requires Python >=3.11 and a valid Google Assistant OAuth credentials.json file with appropriate scopes.
Verify before relying
- Whether the library handles credential refresh automatically or requires manual token management
- Performance characteristics when handling concurrent requests or long-running sessions
- Exact API coverage relative to the full Google Assistant gRPC surface
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — google-auth, grpcio, protobuf, requests |
| Maintenance | actively maintained — 403 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 73,499/month — #14,989 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: gassist_text-0.0.14-py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
PyChromecastCommunicate with Google Chromecast devices over…
permissive · top 15,000 on PyPI
gpsoauthImplements Google Play Services OAuth…
permissive · top 15,000 on PyPI
livekit-plugins-googleIntegrates Google Cloud AI services (Gemini,…
permissive · top 5,000 on PyPI
telesignTeleSign SDK provides Python bindings to send…
permissive · top 15,000 on PyPI
grpclibgrpclib is a pure-Python asyncio-based…
permissive · top 1,000 on PyPI
isolate-protoProvides gRPC protocol buffer definitions for…
unclear · top 15,000 on PyPI
speechmatics-voicePython SDK for building real-time voice…
permissive · top 15,000 on PyPI
googleadsClient library for interacting with Google Ad…
permissive · top 5,000 on PyPI
google-cloud-speechProvides a Python client for Google Cloud…
permissive · top 1,000 on PyPI
socoSoCo is a Python library for programmatic…
permissive · top 15,000 on PyPI