{"id":17976601,"url":"https://github.com/areebbeigh/winspeech","last_synced_at":"2025-10-05T13:41:19.277Z","repository":{"id":57477750,"uuid":"72911213","full_name":"areebbeigh/winspeech","owner":"areebbeigh","description":"Speech recognition and synthesis library for Windows - Python 2 and 3.","archived":false,"fork":false,"pushed_at":"2017-06-09T18:18:26.000Z","size":46,"stargazers_count":12,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-20T13:09:56.029Z","etag":null,"topics":["sapi","speech-recognition","synthesis-library","windows"],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/winspeech","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/areebbeigh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-05T07:17:48.000Z","updated_at":"2022-09-30T10:58:45.000Z","dependencies_parsed_at":"2022-09-10T04:23:28.517Z","dependency_job_id":null,"html_url":"https://github.com/areebbeigh/winspeech","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areebbeigh%2Fwinspeech","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areebbeigh%2Fwinspeech/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areebbeigh%2Fwinspeech/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areebbeigh%2Fwinspeech/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/areebbeigh","download_url":"https://codeload.github.com/areebbeigh/winspeech/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245489762,"owners_count":20623789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sapi","speech-recognition","synthesis-library","windows"],"created_at":"2024-10-29T17:24:24.582Z","updated_at":"2025-10-05T13:41:14.258Z","avatar_url":"https://github.com/areebbeigh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# winspeech\nSpeech recognition and synthesis library for Windows - Python 2 and 3.\n\nThis is a simple Python library based on the abandoned \u003ca href=\"https://github.com/michaelgundlach/pyspeech\"\u003ePySpeech library\u003c/a\u003e for Python 2. Requires \u003ca href=\"https://sourceforge.net/projects/pywin32/files/pywin32/\"\u003epywin32.\u003c/a\u003e\n\n**PyPI:** https://pypi.python.org/pypi/winspeech\u003cbr\u003e\n**Doc:** https://pythonhosted.org/winspeech/\n\n## Installation\n`\u003e pip install winspeech`\n\n## Example\n\n```\n# Say anything you type, and write anything you say.\n# Stops when you say \"turn off\" or type \"turn off\".\n\nimport winspeech\nimport sys\n\n# Start an in-process recognizer. Don't want the shared one with built-in windows commands.\nwinspeech.initialize_recognizer(winspeech.INPROC_RECOGNIZER)\n\n\ndef callback(phrase, listener):\n    print(\": %s\" % phrase)\n    if phrase == \"turn off\":\n        winspeech.say(\"Goodbye.\")\n        listener.stop_listening()\n        sys.exit()\n\n\nprint(\"Anything you type, speech will say back.\")\nprint(\"Anything you say, speech will print out.\")\nprint(\"Say or type 'turn off' to quit.\")\n\nlistener = winspeech.listen_for_anything(callback)\n\nwhile listener.is_listening():\n    if sys.version_info.major == 3:\n        text = input(\"\u003e \")\n    else:\n        text = raw_input(\"\u003e \")\n    if text == \"turn off\":\n        listener.stop_listening()\n        sys.exit()\n    else:\n        winspeech.say(text)\n\n```\n\n## Contributing\nFeel free to fork the repo and make any improvements/additions. I love pull requests.\n\n## Additional Info\n**Developer:** Areeb Beigh \u003careebbeigh@gmail.com\u003e\u003cbr\u003e\n**GitHub Repo:** https://github.com/areebbeigh/winspeech\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareebbeigh%2Fwinspeech","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fareebbeigh%2Fwinspeech","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareebbeigh%2Fwinspeech/lists"}