gTTS
v2.2.0

Documentation

  • Command-line (gtts-cli)
  • Module (gtts)
  • Pre-processing and tokenizing

Project

  • License
  • Contributing
  • Changelog
gTTS
  • »
  • gTTS
  • Edit on GitHub

gTTS¶

gTTS (Google Text-to-Speech), a Python library and CLI tool to interface with Google Translate’s text-to-speech API. Writes spoken mp3 data to a file, a file-like object (bytestring) for further audio manipulation, or stdout. It features flexible pre-processing and tokenizing, as well as automatic retrieval of supported languages.

Installation¶

pip install gTTS

Documentation

  • Command-line (gtts-cli)
    • gtts-cli
    • Examples
    • Playing sound directly
  • Module (gtts)
    • gTTS (gtts.gTTS)
    • Languages (gtts.lang)
    • Examples
    • Playing sound directly
    • Logging
  • Pre-processing and tokenizing
    • Definitions
    • Pre-processing
      • Customizing & Examples
    • Tokenizing
      • Customizing & Examples
      • Using a 3rd-party tokenizer
    • Minimizing
    • gtts.tokenizer module reference (gtts.tokenizer)

Project

  • License
  • Contributing
    • Reporting Issues
    • Submitting Patches
    • Testing
  • Changelog
    • 2.2.0 (2020-11-14)
    • 2.1.2 (2020-11-10)
    • 2.1.1 (2020-01-25)
    • 2.1.0 (2020-01-01)
    • 2.0.4 (2019-08-29)
    • 2.0.3 (2018-12-15)
    • 2.0.2 (2018-12-09)
    • 2.0.1 (2018-06-20)
    • 2.0.0 (2018-04-30)
    • 1.2.2 (2017-08-15)
    • 1.2.1 (2017-08-02)
    • 1.2.0 (2017-04-15)
    • 1.1.8 (2017-01-15)
    • 1.1.7 (2016-12-14)
    • 1.1.6 (2016-07-20)
    • 1.1.5 (2016-05-13)
    • 1.1.4 (2016-02-22)
    • 1.1.3 (2016-01-24)
    • 1.1.2 (2016-01-13)
    • 1.0.7 (2015-10-07)
    • 1.0.6 (2015-07-30)
    • 1.0.5 (2015-07-15)
    • 1.0.4 (2015-05-11)
    • 1.0.3 (2014-11-21)
    • 1.0.2 (2014-05-15)
    • 1.0.1 (2014-05-15)
    • 1.0 (2014-05-08)

Misc¶

  • Index

  • Module Index

Next

© Copyright 2014-2020 Pierre Nicolas Durette Revision 058b9f1d.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: v2.2.0
Versions
latest
stable
v2.2.0
v2.1.2
v2.1.1
v2.1.0
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
Downloads
On Read the Docs
Project Home
Builds