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.
Release files for google-assistant-library 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| google_assistant_library-1.1.0-py2.py3-none-manylinux2010_x86_64.whl | Python 2, Python 3 | none | Linux glibc 2.12+ x86-64 | Details |
| google_assistant_library-1.1.0-py2.py3-none-linux_armv7l.whl | Python 3, Python 2 | none | linux armv7l | Details |
| google_assistant_library-1.1.0-py2.py3-none-linux_armv6l.whl | Python 2, Python 3 | none | linux armv6l | Details |
Total release size: 16.9 MB
Release files / google_assistant_library-1.1.0-py2.py3-none-manylinux2010_x86_64.whl
| Download URL | google_assistant_library-1.1.0-py2.py3-none-manylinux2010_x86_64.whl |
|---|---|
| Size | 6.1 MB |
| Tags | Linux glibc 2.12+ x86-64 Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
30d864f2ded52024c34d88afcfe9c1070f7e3f980d6634e86fecc6bf7fb3b079
|
|
BLAKE2b-256 checksum How to use checksums |
868ab8133f045fa98e9afcc0432943114d8dca7fc38a2d5aa791bdd41f281d54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / google_assistant_library-1.1.0-py2.py3-none-linux_armv7l.whl
| Download URL | google_assistant_library-1.1.0-py2.py3-none-linux_armv7l.whl |
|---|---|
| Size | 5.6 MB |
| Tags | Python 2 Python 3 linux armv7l |
|
SHA-256 checksum How to use checksums |
5bbc332d1077f3cb22562eb5ffef1560d0bf1535fc8870c5fdbcfe6f88ec7292
|
|
BLAKE2b-256 checksum How to use checksums |
bf02e08e5f54daafa11394fe8676d62b9029bea17a1fd028176a1495a670f7d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / google_assistant_library-1.1.0-py2.py3-none-linux_armv6l.whl
| Download URL | google_assistant_library-1.1.0-py2.py3-none-linux_armv6l.whl |
|---|---|
| Size | 5.2 MB |
| Tags | Python 2 Python 3 linux armv6l |
|
SHA-256 checksum How to use checksums |
8424a75a9d2c1281cd7393dfd098c5b1b02f3e86280f26515f1e69dac1238433
|
|
BLAKE2b-256 checksum How to use checksums |
5c0c8a9a4253fa68a4be131b973dae90d76a4cd40ca61dab73cc4f4ba40ff689
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|