Skip to main content

Python implementation of Alexa Voice Service App

Project description

Python Alexa Voice Service App

https://img.shields.io/pypi/v/avs.svg https://img.shields.io/travis/respeaker/avs.svg

Features

To do

  • Speaker interface

  • Notifications interface

Requirements

  • gstreamer1.0 gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly

  • python-gi python-gst gir1.2-gstreamer-1.0

  • respeaker python library pocketsphinx (optional, for hands-free keyword spotting)

Get started

  1. run alexa-auth to login Amazon, it will save authorization information to ~/.avs.json

  2. run alexa-tap, then press Enter to talk with alexa

  3. run alexa, then use “alexa” to start with conversation with alexa, for example, “alexa, what time is it”

Change Alexa Voice Service client id and product id

If you want to use your own client id and product id, try:

  1. register for an Amazon Developer Account.

  2. create a file named config.json with your product_id, client_id and client_secret:

    {
        "product_id": "x",
        "client_id": "y",
        "client_secret": "z"
    }
  3. run alexa-auth -c config.json

  4. run alexa-tap or alexa

License

  • Free software: GNU General Public License v3

Credits

This project is based on nicholas-gh/python-alexa-client.

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.0.6 (2017-08-30)

  • fix dueros oauth invalid access token issue

  • fix dueros-auth

0.0.5 (2017-08-24)

  • support alerts interface

0.0.4 (2017-07-13)

  • add hands free alexa util using respeaker python library

0.0.3 (2017-07-11)

  • use gstreamer to play audio stream

  • support dueros avs compatible service

  • many improments

0.0.2 (2017-07-05)

  • rename alexa util to alexa-tap

  • add oauth util alexa-auth

0.0.1 (2017-07-04)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

avs-0.0.6.tar.gz (209.7 kB view hashes)

Uploaded Source

Built Distribution

avs-0.0.6-py2.py3-none-any.whl (213.0 kB view hashes)

Uploaded Python 2 Python 3

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