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. Or simply pre-generate Google Translate TTS request URLs to feed to an external program.
http://gtts.readthedocs.org/
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;
- Automatic retrieval of supported languages.
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 http://gtts.readthedocs.org/ for documentation and examples.
Project
Licence
The MIT License (MIT) Copyright © 2014-2020 Pierre Nicolas Durette
Metadata
Release files for gTTS 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gTTS-2.1.0.tar.gz | 27.1 kB | Without provenance | Details for gTTS-2.1.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gTTS-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for gTTS-2.1.0-py3-none-any.whl |
| gTTS-2.1.0-py2-none-any.whl | Python 2 | none | any | Details for gTTS-2.1.0-py2-none-any.whl |
Total release size: 77.6 kB
Release files / gTTS-2.1.0.tar.gz
| Download URL | gTTS-2.1.0.tar.gz |
|---|---|
| Size | 27.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef861f635b82391dccd4644a286c5563fc7373bc3a96acb19e1d2224393cf262
|
|
BLAKE2b-256 checksum How to use checksums |
11fc9eb6c45693dc3e72d598393d14d8e2f0845d9ac0eef1811fb08bcfafd387
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0
|
Release files / gTTS-2.1.0-py3-none-any.whl
| Download URL | gTTS-2.1.0-py3-none-any.whl |
|---|---|
| Size | 25.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
803e7c2c970d58020f068846522bb051b08c478a2e695896d3e344977167d169
|
|
BLAKE2b-256 checksum How to use checksums |
b5e729f8d334627629aa842ecd13a77c82c5419de849c53e906f472ce7e0c768
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0
|
Release files / gTTS-2.1.0-py2-none-any.whl
| Download URL | gTTS-2.1.0-py2-none-any.whl |
|---|---|
| Size | 25.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
b1fd0a8731225cd00355e39443dfe85efa0db6be01fe149cdb62c6f1db6fdbcf
|
|
BLAKE2b-256 checksum How to use checksums |
dd5115bfe852e060f7abf3174579ec3af42c5df8e07d8503428289d8238ea657
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/2.7.16
|
Security for gTTS 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.