{ "info": { "author": "Helow19274", "author_email": "helow@helow19274.tk", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Multimedia :: Sound/Audio :: Speech", "Topic :: Software Development :: Libraries" ], "description": "# aiogTTS [![PyPI version](https://img.shields.io/pypi/v/aiogTTS.svg)](https://pypi.org/project/aiogTTS/) [![Python versions](https://img.shields.io/pypi/pyversions/aiogTTS.svg)](https://pypi.org/project/aiogTTS/) [![Build Status](https://travis-ci.org/Helow19274/aiogTTS.svg?branch=master)](https://travis-ci.org/Helow19274/aiogTTS/)\n\n**aiogTTS** (asynchronous Google Text-to-Speech), a Python library to interface with Google Translate's text-to-speech API.\nWrites spoken mp3 data to a file or a file-like object (bytestring) for further audiomanipulation.\n\n## Original gTTS and gTTS-token\n- (75% of this repo)\n- (token.py in this repo)\n\n## Features\n- Customizable speech-specific sentence tokenizer that allows for unlimited lengths of text to be read, all while keeping proper intonation, abbreviations, decimals and more;\n- Customizable text pre-processors which can, for example, provide pronunciation corrections;\n- Automatic retrieval of supported languages.\n\n### Installation\n```bash\n$ pip install aiogTTS\n```\n\n### Quickstart\n```python\nimport asyncio\nfrom io import BytesIO\nfrom aiogtts import aiogTTS\n\n\nasync def main():\n aiogtts = aiogTTS()\n io = BytesIO()\n await aiogtts.save('\u041f\u0440\u0438\u0432\u0435\u0442, \u043c\u0438\u0440!', 'audio.mp3', lang='ru')\n await aiogtts.write_to_fp('Hallo!', io, slow=True, lang='de')\n\n\nasyncio.get_event_loop().run_until_complete(main())\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/Helow19274/aiogTTS", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "aiogTTS", "package_url": "https://pypi.org/project/aiogTTS/", "platform": "", "project_url": "https://pypi.org/project/aiogTTS/", "project_urls": { "Homepage": "https://github.com/Helow19274/aiogTTS" }, "release_url": "https://pypi.org/project/aiogTTS/1.0.1/", "requires_dist": [ "aiohttp", "beautifulsoup4", "pytest-asyncio ; extra == 'tests'" ], "requires_python": "", "summary": "A Python library to interface with Google Translate text-to-speech API", "version": "1.0.1" }, "last_serial": 5138507, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "753451a46be79f64bf7430a5da68796c", "sha256": "692be9313238cd70e6f1c35f876afca721866305ac8c07f7b49bed8366d47948" }, "downloads": -1, "filename": "aiogTTS-1.0.tar.gz", "has_sig": false, "md5_digest": "753451a46be79f64bf7430a5da68796c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10629, "upload_time": "2019-04-05T12:16:43", "url": "https://files.pythonhosted.org/packages/ce/69/94b8ad364114acad4213c2df52ac966930214d1e8a07ef9f74df81ea67e6/aiogTTS-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "5791720685aedede5a8385d54ed6fa3e", "sha256": "a28cfcdb4517b9ae0f8fa583616d8357f5ae34d95589db76c9e09c944ea612df" }, "downloads": -1, "filename": "aiogTTS-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5791720685aedede5a8385d54ed6fa3e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13914, "upload_time": "2019-04-13T16:11:36", "url": "https://files.pythonhosted.org/packages/09/0b/a2951ef3297bda6e9f96847edf5f0a29203aac67d9bd65b73ac076e882d9/aiogTTS-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c63bb2844f25499502a36bb8a37cdaff", "sha256": "4e3626f1105bfd261924ced77b552aa518ef79a3d4b3662f75d18a6011348c40" }, "downloads": -1, "filename": "aiogTTS-1.0.1.tar.gz", "has_sig": false, "md5_digest": "c63bb2844f25499502a36bb8a37cdaff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10572, "upload_time": "2019-04-13T16:11:38", "url": "https://files.pythonhosted.org/packages/11/2d/128ee496494fcd6d49d4ea27e724dc5fc563eea51884919296e4c18cb1c3/aiogTTS-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5791720685aedede5a8385d54ed6fa3e", "sha256": "a28cfcdb4517b9ae0f8fa583616d8357f5ae34d95589db76c9e09c944ea612df" }, "downloads": -1, "filename": "aiogTTS-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5791720685aedede5a8385d54ed6fa3e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13914, "upload_time": "2019-04-13T16:11:36", "url": "https://files.pythonhosted.org/packages/09/0b/a2951ef3297bda6e9f96847edf5f0a29203aac67d9bd65b73ac076e882d9/aiogTTS-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c63bb2844f25499502a36bb8a37cdaff", "sha256": "4e3626f1105bfd261924ced77b552aa518ef79a3d4b3662f75d18a6011348c40" }, "downloads": -1, "filename": "aiogTTS-1.0.1.tar.gz", "has_sig": false, "md5_digest": "c63bb2844f25499502a36bb8a37cdaff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10572, "upload_time": "2019-04-13T16:11:38", "url": "https://files.pythonhosted.org/packages/11/2d/128ee496494fcd6d49d4ea27e724dc5fc563eea51884919296e4c18cb1c3/aiogTTS-1.0.1.tar.gz" } ] }