Google Assistant Library Python wrapper
Project description
This package contains high level Python bindings for the Google Assistant Library.
It is part of the Google Assistant SDK for devices.
It includes the following features:
“Ok Google” or “Hey Google” hotword detection
Audio recording
Assistant response playback
Timer and alarm features
Volume ducking and control
Conversation state management
Playback of podcasts and news
Broadcast voice messages
See Introduction to the Google Assistant Library for a step by step guide on how to get started with the library on Raspberry Pi 3.
Supported configuration
Python >= 2.7
Architecture: linux-arm7l and linux-x86_64
Installing
You can install using pip.:
pip install --upgrade google-assistant-library
Usage
Run the demo:
google-assistant-demo
Say “Ok Google” or “Hey Google” followed by a voice query. The demo should play back the Assistant’s response and log events to the screen.
Register the device and run the demo with device actions:
google-assistant-demo --project-id PROJECT_ID --device-model-id DEVICE_MODEL
Reference
Reference sample for the Google Assistant Library for Python
Google Assistant Library reference
License
See LICENSE and LICENSE.third_party.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for google_assistant_library-1.0.0-py2.py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4298c1d929233f52745aec56c688ce05aca17c17b862c1c6565ac5ceb35db569 |
|
MD5 | 69a6ad1d0213a1c00979acbfcb50d96b |
|
BLAKE2b-256 | dc90a27c83ad72bfd41309caef06935d2aa48ebe126e57a047bcdcf04d8ff3d2 |
Hashes for google_assistant_library-1.0.0-py2.py3-none-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ed1c3ec7959e642385a020b5d47535d012a17b5e67f871e22705569cc92f86e |
|
MD5 | 6793efc28dd821650cd9352afcd1d7fa |
|
BLAKE2b-256 | 2758a17ad21b6a046b284fd4e81af35f43fbfa611cc7171e1eac029f87329f35 |