{ "info": { "author": "Picovoice", "author_email": "hello@picovoice.ai", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "\n#[Porcupine](https://github.com/Picovoice/porcupine). \n\nIt supports Linux (x86_64), Mac, Raspberry Pi (Zero, 1, 2, 3), and BeagleBone.\n\n## Installation\n\n```bash\npip install pvporcupine\n```\n\nIf it fails to install PyAudio, you can do the following for Debian/Ubuntu as referenced in the installation guide\nof [PyAudio](https://people.csail.mit.edu/hubert/pyaudio/). \n\nInstall PyAudio \n\n```bash\nsudo apt-get install python-pyaudio python3-pyaudio\n```\n\nIf the above fails then first run the following\n\n```bash\nsudo apt-get install portaudio19-dev\nsudo apt-get install python-all-dev python3-all-dev\n```\n\n## Usage\n\n### Realtime Demo\n\nMake sure you have a working microphone connected to your device first. From commandline type the following\n\n```bash\npvporcupine_mic --keywords picovoice\n```\n\nThen say 'picovoice'. The demo processes audio steam from microphone in realtime and detects utterances of 'picovoice'\n\n### File-Based Demo\n\n```bash\npvporcupine_file --input_audio_file_path ${INPUT_AUDIO_FILE_PATH} --keywords bumblebee\n```\n\nReplace `${INPUT_AUDIO_FILE_PATH}` with a valid path to an audio file (e.g. WAV or FLAC). The demo scans the file\nfor occurrences of 'bumblebee'.\n\nIn order get more information about using demos run them with '--help' argument or look into their GitHub page\n[here](https://github.com/Picovoice/porcupine/tree/master/demo/python).\n\n### Porcupine Class\n\nYou can create an instance of Porcupine engine for use within your application using the factory method provided as\nbelow\n\n```python\nimport pvporcupine\n\npvporcupine.create(keywords=pvporcupine.KEYWORDS())\n```\n\n`pvporcupine.KEYWORDS()` is the set of default keyword files that ships with the PIP package across all platforms. In\norder to use your own keyword file you can instantiate the object as follows:\n\n```python\nimport pvporcupine\n\nkeyword_file_1_path = ...\nkeyword_file_2_path = ...\nkeyword_file_3_path = ...\n\npvporcupine.create(keyword_file_paths=[keyword_file_1_path, keyword_file_2_path, keyword_file_3_path])\n```\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Picovoice/porcupine", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pvporcupine", "package_url": "https://pypi.org/project/pvporcupine/", "platform": "", "project_url": "https://pypi.org/project/pvporcupine/", "project_urls": { "Homepage": "https://github.com/Picovoice/porcupine" }, "release_url": "https://pypi.org/project/pvporcupine/1.6.2/", "requires_dist": [ "pysoundfile (>=0.9.0)", "enum34 (==1.1.6)", "numpy", "pyaudio" ], "requires_python": "", "summary": "On-device wake word detection powered by deep learning.", "version": "1.6.2" }, "last_serial": 5957473, "releases": { "1.6.0": [ { "comment_text": "", "digests": { "md5": "88d48ef4253f200031ebe86b674c8d9e", "sha256": "0c97cbee6f945040dc5d20856f2e3f09043d3293800244b5995e58168ea2b59c" }, "downloads": -1, "filename": "pvporcupine-1.6.0-py3-none-any.whl", "has_sig": false, "md5_digest": "88d48ef4253f200031ebe86b674c8d9e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1547266, "upload_time": "2019-10-10T03:51:47", "url": "https://files.pythonhosted.org/packages/bd/10/e0956a63e61a889c9cc35699c0a32ead9de1291f90032c929dcbf17604af/pvporcupine-1.6.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7814e6ad05d129508157e0fef40ed8c1", "sha256": "3be9622e2718362a04ad3d7099336d9bcc3a30a9bd17c4171248e093826b0009" }, "downloads": -1, "filename": "pvporcupine-1.6.0.tar.gz", "has_sig": false, "md5_digest": "7814e6ad05d129508157e0fef40ed8c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1530209, "upload_time": "2019-10-10T03:51:51", "url": "https://files.pythonhosted.org/packages/a9/5b/adadf996a6825e74dcfaee5db3608125af1361deb30849b53066c2d72623/pvporcupine-1.6.0.tar.gz" } ], "1.6.1": [ { "comment_text": "", "digests": { "md5": "a7731b0c3bedc745a7963b8854467898", "sha256": "03b246a753f6fe2b14a48c124a5b0ed93cc98d3744c17ecbec0e4a4805ae933d" }, "downloads": -1, "filename": "pvporcupine-1.6.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a7731b0c3bedc745a7963b8854467898", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1549068, "upload_time": "2019-10-10T04:11:15", "url": "https://files.pythonhosted.org/packages/40/9d/a2c5c5f026c14b12305afc9218bcb9bf033637ec89d503e673570bd61c4e/pvporcupine-1.6.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "54ca074091b52da74a9a74f0764edb41", "sha256": "db45fcf88c26acc6d0b69694194e9f0615e1ffcc5d25f60a5a600d1de10d5292" }, "downloads": -1, "filename": "pvporcupine-1.6.1.tar.gz", "has_sig": false, "md5_digest": "54ca074091b52da74a9a74f0764edb41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1531605, "upload_time": "2019-10-10T04:11:18", "url": "https://files.pythonhosted.org/packages/a4/b7/0dbd0c1aad724057c9d61fefce166fe018c56b70adf9015ca2ba581d3e45/pvporcupine-1.6.1.tar.gz" } ], "1.6.2": [ { "comment_text": "", "digests": { "md5": "120c73424df8659ef6f11e06ed21e513", "sha256": "5a2f93f6a794e9286abaf516229640f09e0458fd7ce5c3243f33c54dc57ff1d5" }, "downloads": -1, "filename": "pvporcupine-1.6.2-py3-none-any.whl", "has_sig": false, "md5_digest": "120c73424df8659ef6f11e06ed21e513", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1549055, "upload_time": "2019-10-10T23:10:49", "url": "https://files.pythonhosted.org/packages/8f/81/7973907db96366ad20550e4afc6f4dbbd1d0c05f27345c4fddfa4efd5802/pvporcupine-1.6.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a40dd854e483b51db7e8eee41d4dee19", "sha256": "26411d7ef88db80d7da681917b087bf00e359d00ad2d44b824bfffc30c42f967" }, "downloads": -1, "filename": "pvporcupine-1.6.2.tar.gz", "has_sig": false, "md5_digest": "a40dd854e483b51db7e8eee41d4dee19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1531627, "upload_time": "2019-10-10T23:10:52", "url": "https://files.pythonhosted.org/packages/f7/7d/56d604caa9d011eb5881797d911ca722dfc9b1ac1f9704f49969f458e4e9/pvporcupine-1.6.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "120c73424df8659ef6f11e06ed21e513", "sha256": "5a2f93f6a794e9286abaf516229640f09e0458fd7ce5c3243f33c54dc57ff1d5" }, "downloads": -1, "filename": "pvporcupine-1.6.2-py3-none-any.whl", "has_sig": false, "md5_digest": "120c73424df8659ef6f11e06ed21e513", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1549055, "upload_time": "2019-10-10T23:10:49", "url": "https://files.pythonhosted.org/packages/8f/81/7973907db96366ad20550e4afc6f4dbbd1d0c05f27345c4fddfa4efd5802/pvporcupine-1.6.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a40dd854e483b51db7e8eee41d4dee19", "sha256": "26411d7ef88db80d7da681917b087bf00e359d00ad2d44b824bfffc30c42f967" }, "downloads": -1, "filename": "pvporcupine-1.6.2.tar.gz", "has_sig": false, "md5_digest": "a40dd854e483b51db7e8eee41d4dee19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1531627, "upload_time": "2019-10-10T23:10:52", "url": "https://files.pythonhosted.org/packages/f7/7d/56d604caa9d011eb5881797d911ca722dfc9b1ac1f9704f49969f458e4e9/pvporcupine-1.6.2.tar.gz" } ] }