Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

VoiceInsights Python SDK for Google Assistant

Project Description


# Install the package

you can install the package locally in the current folder by using the following command:

#from test PIP repo
pip install -t ./ -i voicelabs-assistant

#from main public PIP repo
pip install -t ./ voicelabs-assistant


## SDK usage:

#import sdk
from voicelabs import VoiceInsights

#instantiate SDK object globally. You only need one object.
appToken = '<YOUR APP TOKEN>'
vi = VoiceInsights(appToken)

#track your events. Example Flask implementation
@app.route('/intent', methods = ['POST'])
def api_intent_handler():

req_json = request.get_json()
data = req_json['originalRequest']['data']
intentName = req_json['result']['metadata']['intentName']
#tts string could be plain text or a valid SSML
tts = "Here is my response to the user"
resp = vi.track( intentName, data, tts )


Release History

This version
History Node


History Node


History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(5.7 kB) Copy SHA256 Hash SHA256
py2.py3 Wheel Jun 23, 2017
(4.4 kB) Copy SHA256 Hash SHA256
Source Jun 23, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting