skillfed

gassist-text

A Python library for interacting with Google Assistant API via text

gassist-text v0.0.14 73.5K downloads/30d#14,989 on PyPI24
Permissive license Apache-2.0 Active released

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-text

uv

uv add gassist-text

poetry

poetry add gassist-text

Installing 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

google assistant text apitext-based google assistantgoogle assistant grpc pythoninteract with google assistantgoogle assistant sdk textgoogle assistant api wrapper
google-assistantgrpc-client

More Internet packages