Skip to main content

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

Authorization

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

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

google_assistant_library-1.1.0-py2.py3-none-manylinux2010_x86_64.whl (6.1 MB view details)

Uploaded Python 2 Python 3 manylinux: glibc 2.12+ x86-64

File details

Details for the file google_assistant_library-1.1.0-py2.py3-none-manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for google_assistant_library-1.1.0-py2.py3-none-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 30d864f2ded52024c34d88afcfe9c1070f7e3f980d6634e86fecc6bf7fb3b079
MD5 7f638430c1bff5006056482f6c5a7d83
BLAKE2b-256 868ab8133f045fa98e9afcc0432943114d8dca7fc38a2d5aa791bdd41f281d54

See more details on using hashes here.

File details

Details for the file google_assistant_library-1.1.0-py2.py3-none-linux_armv7l.whl.

File metadata

File hashes

Hashes for google_assistant_library-1.1.0-py2.py3-none-linux_armv7l.whl
Algorithm Hash digest
SHA256 5bbc332d1077f3cb22562eb5ffef1560d0bf1535fc8870c5fdbcfe6f88ec7292
MD5 cbb73db7ad2689f4e33bbb3643a9383e
BLAKE2b-256 bf02e08e5f54daafa11394fe8676d62b9029bea17a1fd028176a1495a670f7d8

See more details on using hashes here.

File details

Details for the file google_assistant_library-1.1.0-py2.py3-none-linux_armv6l.whl.

File metadata

File hashes

Hashes for google_assistant_library-1.1.0-py2.py3-none-linux_armv6l.whl
Algorithm Hash digest
SHA256 8424a75a9d2c1281cd7393dfd098c5b1b02f3e86280f26515f1e69dac1238433
MD5 9210137718b31c153ac5be0e9573092b
BLAKE2b-256 5c0c8a9a4253fa68a4be131b973dae90d76a4cd40ca61dab73cc4f4ba40ff689

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page