{ "info": { "author": "Sridhar Nallani", "author_email": "sridhar@voicelabs.co", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Build Tools" ], "description": "# analytics-python-sdk\nVoice insights analytics sdk for Python for Alexa skill platform\n\n## instructions to build and distribute\n\n### setup: create a file called .pypirc in your user home folder (~). Put the following contents in it:\n```\n[distutils]\nindex-servers =\n pypi\n pypitest\n\n[pypi]\nrepository=https://pypi.python.org/pypi\nusername=voicelabs\n\n[pypitest]\nrepository=https://testpypi.python.org/pypi\nusername=voicelabs\n```\n\n### cleanup the build artifacts (optional). Cleanup not needed if it wasnt done before on the machine.\n```\nrm -r dist/*\n\nrm -r build/*\n\nrm -r VoiceInsights.egg-info/*\n```\n\n### build \n```\npython setup.py sdist\n\npython setup.py bdist_wheel\n```\n### distribute\n\n```\n#for publishing to sandbox PIP repo\ntwine register dist/VoiceInsights-0.0.1-py2.py3-none-any.whl -r pypitest\ntwine upload dist/* -r pypitest\n\n#for publishing to sandbox PIP repo\ntwine register dist/VoiceInsights-0.0.1-py2.py3-none-any.whl -r pypi\ntwine upload dist/* -r pypi\n```\n\nwhen prompted for a password use: V0icelab5\n\nLogin to the urls provided above in .pypirc file to check the package has been correctly exported. \n\n--------------------\n\n## To test the uploaded package\n\nyou can install the package locally in the current folder by using the following command:\n```\n#from test PIP repo\npip install -t ./ -i https://testpypi.python.org/pypi VoiceInsights\n\n#from main public PIP repo\npip install -t ./ -i https://pypi.python.org/pypi VoiceInsights\n```\n\n--------------------\n\n## SDK usage:\n\n```python\nfrom VoiceInsights import VoiceInsights\n\nappToken = '450f1ca5-da5b-3877-b6ad-389ba3f49f5d' \nvi = VoiceInsights()\n\ndef on_session_started(session_started_request, session):\n \"\"\" Called when the session starts \"\"\" \n vi.initialize(appToken, session)\n\ndef on_intent(intent_request, session):\n intent = intent_request['intent']\n intent_name = intent_request['intent']['name']\n\n response = None\n #Logic to populate response goes here\n\n #invoke SDK track method like follows\n vi.track(intent_name, intent_request, response)\n\n return response\n\n```", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/voicelabs/analytics-python-sdk", "keywords": "voicelabs,voiceinsights,alexasdk", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "VoiceInsights", "package_url": "https://pypi.org/project/VoiceInsights/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/VoiceInsights/", "project_urls": { "Homepage": "https://github.com/voicelabs/analytics-python-sdk" }, "release_url": "https://pypi.org/project/VoiceInsights/0.0.2/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "VoiceInsights Python SDK", "version": "0.0.2" }, "last_serial": 2372473, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "52319966a384d7bf8d56bc5b02c516e4", "sha256": "624fcf83056d610a9564fb2df7eeb1eca5f6509186b1ddc69c85816f654aa907" }, "downloads": -1, "filename": "VoiceInsights-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "52319966a384d7bf8d56bc5b02c516e4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5172, "upload_time": "2016-09-30T00:24:44", "url": "https://files.pythonhosted.org/packages/10/7e/64d5b7ef9ff4b4d983b14721afca263ad648eacf06487090074cabc5cf02/VoiceInsights-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b6374de9f8cc692fcb13d904424aa4bb", "sha256": "5ed078dd93437f570812e9cbacf871704117f817488834a5b26fdfc37d5929ce" }, "downloads": -1, "filename": "VoiceInsights-0.0.2.tar.gz", "has_sig": false, "md5_digest": "b6374de9f8cc692fcb13d904424aa4bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3873, "upload_time": "2016-09-30T00:24:47", "url": "https://files.pythonhosted.org/packages/82/a0/9d9b965e0ddec3a7766f0c343d96ad8bfb2551cababdedbd2be41437d85e/VoiceInsights-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "52319966a384d7bf8d56bc5b02c516e4", "sha256": "624fcf83056d610a9564fb2df7eeb1eca5f6509186b1ddc69c85816f654aa907" }, "downloads": -1, "filename": "VoiceInsights-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "52319966a384d7bf8d56bc5b02c516e4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5172, "upload_time": "2016-09-30T00:24:44", "url": "https://files.pythonhosted.org/packages/10/7e/64d5b7ef9ff4b4d983b14721afca263ad648eacf06487090074cabc5cf02/VoiceInsights-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b6374de9f8cc692fcb13d904424aa4bb", "sha256": "5ed078dd93437f570812e9cbacf871704117f817488834a5b26fdfc37d5929ce" }, "downloads": -1, "filename": "VoiceInsights-0.0.2.tar.gz", "has_sig": false, "md5_digest": "b6374de9f8cc692fcb13d904424aa4bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3873, "upload_time": "2016-09-30T00:24:47", "url": "https://files.pythonhosted.org/packages/82/a0/9d9b965e0ddec3a7766f0c343d96ad8bfb2551cababdedbd2be41437d85e/VoiceInsights-0.0.2.tar.gz" } ] }