Name | gTTS JSON |
Version |
2.5.1
JSON |
| download |
home_page | |
Summary | gTTS (Google Text-to-Speech), a Python library and CLI tool to interface with Google Translate text-to-speech API |
upload_time | 2024-01-29 03:09:33 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.7 |
license | MIT |
keywords |
gtts
text to speech
google translate
tts
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# gTTS
**gTTS** (*Google Text-to-Speech*), a Python library and CLI tool to interface with Google Translate's text-to-speech API.
Write spoken `mp3` data to a file, a file-like object (bytestring) for further audio manipulation, or `stdout`.
<https://gtts.readthedocs.io/>
[![PyPI version](https://img.shields.io/pypi/v/gTTS.svg)](https://pypi.org/project/gTTS/)
[![Python versions](https://img.shields.io/pypi/pyversions/gTTS.svg)](https://pypi.org/project/gTTS/)
[![Tests workflow](https://github.com/pndurette/gtts/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/pndurette/gTTS/actions)
[![codecov](https://codecov.io/gh/pndurette/gTTS/branch/master/graph/badge.svg)](https://codecov.io/gh/pndurette/gTTS)
[![Commits Since](https://img.shields.io/github/commits-since/pndurette/gTTS/latest.svg)](https://github.com/pndurette/gTTS/commits/)
[![PyPi Downloads](https://static.pepy.tech/badge/gtts)](http://pepy.tech/project/gtts)
[![Buy me a Coffee](https://img.shields.io/badge/buy%20me%20a-coffee-orange)](https://www.buymeacoffee.com/pndurette)
## Features
- Customizable speech-specific sentence tokenizer that allows for unlimited lengths of text to be read, all while keeping proper intonation, abbreviations, decimals and more;
- Customizable text pre-processors which can, for example, provide pronunciation corrections;
### Installation
$ pip install gTTS
### Quickstart
Command Line:
$ gtts-cli 'hello' --output hello.mp3
Module:
>>> from gtts import gTTS
>>> tts = gTTS('hello')
>>> tts.save('hello.mp3')
See <https://gtts.readthedocs.io/> for documentation and examples.
### Disclaimer
This project is *not* affiliated with Google or Google Cloud. Breaking upstream changes *can* occur without notice. This project is leveraging the undocumented [Google Translate](https://translate.google.com) speech functionality and is *different* from [Google Cloud Text-to-Speech](https://cloud.google.com/text-to-speech/).
### Project
- [Questions & community](https://github.com/pndurette/gTTS/discussions)
- [Changelog](CHANGELOG.rst)
- [Contributing](CONTRIBUTING.rst)
### Licence
[The MIT License (MIT)](LICENSE) Copyright © 2014-2024 Pierre Nicolas Durette & [Contributors](https://github.com/pndurette/gTTS/graphs/contributors)
Raw data
{
"_id": null,
"home_page": "",
"name": "gTTS",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "gtts,text to speech,Google Translate,TTS",
"author": "",
"author_email": "Pierre Nicolas Durette <pndurette@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/58/e3/d267b2586c611e8460d6369f60f0780a6fe2ac9d6c415a84b1048365ba96/gTTS-2.5.1.tar.gz",
"platform": null,
"description": "# gTTS\n\n**gTTS** (*Google Text-to-Speech*), a Python library and CLI tool to interface with Google Translate's text-to-speech API. \nWrite spoken `mp3` data to a file, a file-like object (bytestring) for further audio manipulation, or `stdout`.\n<https://gtts.readthedocs.io/>\n\n[![PyPI version](https://img.shields.io/pypi/v/gTTS.svg)](https://pypi.org/project/gTTS/)\n[![Python versions](https://img.shields.io/pypi/pyversions/gTTS.svg)](https://pypi.org/project/gTTS/)\n[![Tests workflow](https://github.com/pndurette/gtts/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/pndurette/gTTS/actions)\n[![codecov](https://codecov.io/gh/pndurette/gTTS/branch/master/graph/badge.svg)](https://codecov.io/gh/pndurette/gTTS)\n[![Commits Since](https://img.shields.io/github/commits-since/pndurette/gTTS/latest.svg)](https://github.com/pndurette/gTTS/commits/)\n[![PyPi Downloads](https://static.pepy.tech/badge/gtts)](http://pepy.tech/project/gtts)\n[![Buy me a Coffee](https://img.shields.io/badge/buy%20me%20a-coffee-orange)](https://www.buymeacoffee.com/pndurette)\n\n## Features\n\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\n### Installation\n\n $ pip install gTTS\n\n### Quickstart\n\nCommand Line:\n\n $ gtts-cli 'hello' --output hello.mp3\n\nModule:\n\n >>> from gtts import gTTS\n >>> tts = gTTS('hello')\n >>> tts.save('hello.mp3')\n\nSee <https://gtts.readthedocs.io/> for documentation and examples.\n\n### Disclaimer\n\nThis project is *not* affiliated with Google or Google Cloud. Breaking upstream changes *can* occur without notice. This project is leveraging the undocumented [Google Translate](https://translate.google.com) speech functionality and is *different* from [Google Cloud Text-to-Speech](https://cloud.google.com/text-to-speech/).\n\n### Project\n\n- [Questions & community](https://github.com/pndurette/gTTS/discussions)\n- [Changelog](CHANGELOG.rst)\n- [Contributing](CONTRIBUTING.rst)\n\n### Licence\n\n[The MIT License (MIT)](LICENSE) Copyright \u00a9 2014-2024 Pierre Nicolas Durette & [Contributors](https://github.com/pndurette/gTTS/graphs/contributors)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "gTTS (Google Text-to-Speech), a Python library and CLI tool to interface with Google Translate text-to-speech API",
"version": "2.5.1",
"project_urls": {
"changelog": "https://github.com/pndurette/gTTS/blob/main/CHANGELOG.md",
"documentation": "https://gtts.readthedocs.io",
"homepage": "https://github.com/pndurette/gTTS",
"repository": "https://github.com/pndurette/gTTS"
},
"split_keywords": [
"gtts",
"text to speech",
"google translate",
"tts"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "59a8e3434904445eacf03b857ac001755d8ffac49b4f3339d63592b4eda009dc",
"md5": "547f2b4ec3af6eb964929c992b8b9ce9",
"sha256": "273ec8a5077b25e60ca5a266ed254b54d1f14032b0af3ba00092d14966148664"
},
"downloads": -1,
"filename": "gTTS-2.5.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "547f2b4ec3af6eb964929c992b8b9ce9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 29094,
"upload_time": "2024-01-29T03:09:31",
"upload_time_iso_8601": "2024-01-29T03:09:31.365563Z",
"url": "https://files.pythonhosted.org/packages/59/a8/e3434904445eacf03b857ac001755d8ffac49b4f3339d63592b4eda009dc/gTTS-2.5.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "58e3d267b2586c611e8460d6369f60f0780a6fe2ac9d6c415a84b1048365ba96",
"md5": "034cab8982f725378c037c80280ca0d0",
"sha256": "02d0a9874f945dee9cd5092991c60bc88d4b7767b8cd81144b6fb49dc3de6897"
},
"downloads": -1,
"filename": "gTTS-2.5.1.tar.gz",
"has_sig": false,
"md5_digest": "034cab8982f725378c037c80280ca0d0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 23918,
"upload_time": "2024-01-29T03:09:33",
"upload_time_iso_8601": "2024-01-29T03:09:33.160558Z",
"url": "https://files.pythonhosted.org/packages/58/e3/d267b2586c611e8460d6369f60f0780a6fe2ac9d6c415a84b1048365ba96/gTTS-2.5.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-29 03:09:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pndurette",
"github_project": "gTTS",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "gtts"
}