Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
google_assistant_library-1.0.0-py2.py3-none-linux_armv7l.whl (7.4 MB) Copy SHA256 hash SHA256 Wheel py2.py3 May 8, 2018
google_assistant_library-1.0.0-py2.py3-none-manylinux1_x86_64.whl (7.8 MB) Copy SHA256 hash SHA256 Wheel py2.py3 May 8, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page