Google Assistant Library Python wrapper
Project description
Warning
The Google Assistant Library for Python is deprecated.
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size google_assistant_library-1.1.0-py2.py3-none-linux_armv6l.whl (5.2 MB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size google_assistant_library-1.1.0-py2.py3-none-linux_armv7l.whl (5.6 MB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size google_assistant_library-1.1.0-py2.py3-none-manylinux2010_x86_64.whl (6.1 MB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Hashes for google_assistant_library-1.1.0-py2.py3-none-linux_armv6l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8424a75a9d2c1281cd7393dfd098c5b1b02f3e86280f26515f1e69dac1238433 |
|
MD5 | 9210137718b31c153ac5be0e9573092b |
|
BLAKE2-256 | 5c0c8a9a4253fa68a4be131b973dae90d76a4cd40ca61dab73cc4f4ba40ff689 |
Hashes for google_assistant_library-1.1.0-py2.py3-none-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bbc332d1077f3cb22562eb5ffef1560d0bf1535fc8870c5fdbcfe6f88ec7292 |
|
MD5 | cbb73db7ad2689f4e33bbb3643a9383e |
|
BLAKE2-256 | bf02e08e5f54daafa11394fe8676d62b9029bea17a1fd028176a1495a670f7d8 |
Hashes for google_assistant_library-1.1.0-py2.py3-none-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30d864f2ded52024c34d88afcfe9c1070f7e3f980d6634e86fecc6bf7fb3b079 |
|
MD5 | 7f638430c1bff5006056482f6c5a7d83 |
|
BLAKE2-256 | 868ab8133f045fa98e9afcc0432943114d8dca7fc38a2d5aa791bdd41f281d54 |