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

If you're not sure about the file name format, learn more about wheel file names.

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

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

google_assistant_library-1.0.1-py2.py3-none-linux_armv7l.whl (5.6 MB view details)

Uploaded Python 2Python 3

google_assistant_library-1.0.1-py2.py3-none-linux_armv6l.whl (5.2 MB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: google_assistant_library-1.0.1-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.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.4.3

File hashes

Hashes for google_assistant_library-1.0.1-py2.py3-none-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b7f705ec342dfb3ce9cece8272234601c8352d229b3043c62031fc4acc36456a
MD5 1eb0c6e31338f125e0cf8a7801ea62ab
BLAKE2b-256 70c0632580998a1d483938fd27cc27bc96d87efd1b0966db374bbc14b8ebafae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: google_assistant_library-1.0.1-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.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.4.3

File hashes

Hashes for google_assistant_library-1.0.1-py2.py3-none-linux_armv7l.whl
Algorithm Hash digest
SHA256 c9c2818b807cd65a750477f26c264474505d2def77f113c3262ad3687c80b3ad
MD5 5f29db24048f1a36a8099fad35d581a1
BLAKE2b-256 1514e5d242f45cda238740f9cde559a07a0c712ac9b22aa94d3a6f7986b92548

See more details on using hashes here.

File details

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

File metadata

  • Download URL: google_assistant_library-1.0.1-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.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.4.3

File hashes

Hashes for google_assistant_library-1.0.1-py2.py3-none-linux_armv6l.whl
Algorithm Hash digest
SHA256 321641e8a7f3f4670a86e6da3b9bf22743392ef446a8b365f797cb4ff151f201
MD5 9627f6e7c61a55cc5e4f5a530b6f259b
BLAKE2b-256 556a998a7a3d7dd68970ec80600566bb529b39cfa4ca6527f7d22c31137d1df8

See more details on using hashes here.

Supported by

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