{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Operating System :: MacOS", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "\n\n[]()\n[](https://pypi.org/project/mac-speech-commands/)\n\n#### Installation\n```bash\n$ [sudo] pip install mac-speech-commands\n```\n\n#### Functions\nfunction|`__doc__`\n-|-\n`mac_speech_commands.replace(text, functions)` |replace speech commands in text with functions output\n\n#### Examples\nrussian minutes plural:\n```python\nimport mac_speech_commands\nimport plural_ru\n\ndef ru_minutes(value):\n return \"%s %s\" % (value.replace(\"1\",\"\u043e\u0434\u043d\u0443\"),plural_ru.ru(int(value),['\u043c\u0438\u043d\u0443\u0442\u0443','\u043c\u0438\u043d\u0443\u0442\u044b','\u043c\u0438\u043d\u0443\u0442']))\n\ntext=\"... \u0434\u043b\u0438\u0442\u0441\u044f [[ru:minutes 10]]\"\nfunctions = {\"ru:minutes\":ru_minutes}\n\nmac_speech_commands.replace(text,functions)\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/looking-for-a-job/mac-speech-commands.py", "keywords": "speech tts", "license": "", "maintainer": "", "maintainer_email": "", "name": "mac-speech-commands", "package_url": "https://pypi.org/project/mac-speech-commands/", "platform": "", "project_url": "https://pypi.org/project/mac-speech-commands/", "project_urls": { "Homepage": "https://github.com/looking-for-a-job/mac-speech-commands.py" }, "release_url": "https://pypi.org/project/mac-speech-commands/2019.4.13/", "requires_dist": null, "requires_python": "", "summary": "extend macOS speech commands", "version": "2019.4.13" }, "last_serial": 5587275, "releases": { "2019.4.13": [ { "comment_text": "", "digests": { "md5": "e4d55b15c30d17eecb9260c462a92845", "sha256": "3a1e0dd80ac6fb571c2cf70d5b21be14bcb4561103905ec07bb02726182d7b75" }, "downloads": -1, "filename": "mac-speech-commands-2019.4.13.tar.gz", "has_sig": false, "md5_digest": "e4d55b15c30d17eecb9260c462a92845", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1635, "upload_time": "2019-06-03T19:24:01", "url": "https://files.pythonhosted.org/packages/43/ed/576dc2ba203176257c00021ad22c970d91899a94a20c518cbcbb0ce6fe6c/mac-speech-commands-2019.4.13.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e4d55b15c30d17eecb9260c462a92845", "sha256": "3a1e0dd80ac6fb571c2cf70d5b21be14bcb4561103905ec07bb02726182d7b75" }, "downloads": -1, "filename": "mac-speech-commands-2019.4.13.tar.gz", "has_sig": false, "md5_digest": "e4d55b15c30d17eecb9260c462a92845", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1635, "upload_time": "2019-06-03T19:24:01", "url": "https://files.pythonhosted.org/packages/43/ed/576dc2ba203176257c00021ad22c970d91899a94a20c518cbcbb0ce6fe6c/mac-speech-commands-2019.4.13.tar.gz" } ] }