Gtts

Latest version: v2.5.4

Safety actively analyzes 702307 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

2.2.4

------------------

Features

- Added Malay language support ([\316](https://github.com/pndurette/gTTS/issues/316))
- Added Hebrew language support ([\324](https://github.com/pndurette/gTTS/issues/324))
- Added new `gTTS.stream()` method to stream bytes ([\319](https://github.com/pndurette/gTTS/issues/319))

Misc

- [\334](https://github.com/pndurette/gTTS/issues/334)

2.2.3

------------------

Features

- Added Bulgarian language support ([\302](https://github.com/pndurette/gTTS/issues/302))

2.2.2

------------------

Features

- Adds a language fallback feature for deprecated languages to
maintain compatiblity (e.g. `en-us` becomes `en`). Fallback can be
disabled with `lang_check=False` or `--nocheck` for the cli ([\267](https://github.com/pndurette/gTTS/issues/267))

Bugfixes

- Fix Python 2.7 compatiblity (!). Python 2 is long gone, but the cut
wasn\'t clearly communicated for gTTS, so it was restored. Python 2
support will be completely removed in the next major release. ([\255](https://github.com/pndurette/gTTS/issues/255))
- Language code case sensitivity is maintained throughout ([\267](https://github.com/pndurette/gTTS/issues/267))

Deprecations and Removals

- The following list of \'hyphenated\' language codes no longer work
and have been removed: `en-us`, `en-ca`, `en-uk`, `en-gb`, `en-au`,
`en-gh`, `en-in`, `en-ie`, `en-nz`, `en-ng`, `en-ph`, `en-za`,
`en-tz`, `fr-ca`, `fr-fr`, `pt-br`, `pt-pt`, `es-es`, `es-us`,
`zh-cn`, `zh-tw` ([\267](https://github.com/pndurette/gTTS/issues/267))
- Removed the `gtts.get_url()` method (outdated since `2.1.0`) ([\270](https://github.com/pndurette/gTTS/issues/270))

2.2.1

------------------

Bugfixes

- `_package_rpc()` was erroneously packaging the entire text instead
of tokenized part ([\252](https://github.com/pndurette/gTTS/issues/252))

Improved Documentation

- Removes reference to automatic retrieval of languages ([\250](https://github.com/pndurette/gTTS/issues/250))

Misc

- [\251](https://github.com/pndurette/gTTS/issues/251)

2.2.0

------------------

Features

- Switch to the newer Google TTS API (thanks to[Boudewijn26!](https://github.com/pndurette/gTTS/pull/244)). See [his great writeup](https://github.com/Boudewijn26/gTTS-token/blob/master/docs/november-2020-translate-changes.md) for more on the methodology and why this was necessary. ([\#226](https://github.com/pndurette/gTTS/issues/226), [#232](https://github.com/pndurette/gTTS/issues/232), [\#236](https://github.com/pndurette/gTTS/issues/236), [\#241](https://github.com/pndurette/gTTS/issues/241))

Deprecations and Removals

- Removed automatic language download from the main code, which has
become too unreliable & slow. Languages will still be fetched but a
pre-generated list will be shipped with `gTTS`. ([\233](https://github.com/pndurette/gTTS/issues/233), [\#241](https://github.com/pndurette/gTTS/issues/241), [\#242](https://github.com/pndurette/gTTS/issues/242), [\#243](https://github.com/pndurette/gTTS/issues/243))
- Because languages are now pre-generated, removed custom TLD support
for language URL (which allowed to get language **names** in other
than English) ([\245](https://github.com/pndurette/gTTS/issues/245))

Misc

- [\245](https://github.com/pndurette/gTTS/issues/245)

2.1.2

------------------

Features

- Update `gTTS-token` to `1.1.4` ([\238](https://github.com/pndurette/gTTS/issues/238))

Bugfixes

- Fixed an issue where some tokens could be empty after minimization ([\229](https://github.com/pndurette/gTTS/issues/229), [\#239](https://github.com/pndurette/gTTS/issues/239))

Improved Documentation

- Grammar, spelling and example fixes ([\227](https://github.com/pndurette/gTTS/issues/227))

Misc

- [\218](https://github.com/pndurette/gTTS/issues/218), [\#230](https://github.com/pndurette/gTTS/issues/230), [\#231](https://github.com/pndurette/gTTS/issues/231), [\#239](https://github.com/pndurette/gTTS/issues/239)

Page 1 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.