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
File details
Details for the file google_assistant_library-1.1.0-py2.py3-none-manylinux2010_x86_64.whl
.
File metadata
- Download URL: google_assistant_library-1.1.0-py2.py3-none-manylinux2010_x86_64.whl
- Upload date:
- Size: 6.1 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30d864f2ded52024c34d88afcfe9c1070f7e3f980d6634e86fecc6bf7fb3b079 |
|
MD5 | 7f638430c1bff5006056482f6c5a7d83 |
|
BLAKE2b-256 | 868ab8133f045fa98e9afcc0432943114d8dca7fc38a2d5aa791bdd41f281d54 |
File details
Details for the file google_assistant_library-1.1.0-py2.py3-none-linux_armv7l.whl
.
File metadata
- Download URL: google_assistant_library-1.1.0-py2.py3-none-linux_armv7l.whl
- Upload date:
- Size: 5.6 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bbc332d1077f3cb22562eb5ffef1560d0bf1535fc8870c5fdbcfe6f88ec7292 |
|
MD5 | cbb73db7ad2689f4e33bbb3643a9383e |
|
BLAKE2b-256 | bf02e08e5f54daafa11394fe8676d62b9029bea17a1fd028176a1495a670f7d8 |
File details
Details for the file google_assistant_library-1.1.0-py2.py3-none-linux_armv6l.whl
.
File metadata
- Download URL: google_assistant_library-1.1.0-py2.py3-none-linux_armv6l.whl
- Upload date:
- Size: 5.2 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8424a75a9d2c1281cd7393dfd098c5b1b02f3e86280f26515f1e69dac1238433 |
|
MD5 | 9210137718b31c153ac5be0e9573092b |
|
BLAKE2b-256 | 5c0c8a9a4253fa68a4be131b973dae90d76a4cd40ca61dab73cc4f4ba40ff689 |