gTTS and tts-wrapper

gTTS is a single-provider implementation that directly wraps Google Translate's API, while tts-wrapper is a multi-provider abstraction layer that could encompass gTTS-like functionality—making them complements where tts-wrapper offers the unified interface that gTTS serves as one concrete backend for.

gTTS
78
Verified
tts-wrapper
47
Emerging
Maintenance 6/25
Adoption 25/25
Maturity 25/25
Community 22/25
Maintenance 0/25
Adoption 12/25
Maturity 18/25
Community 17/25
Stars: 2,594
Forks: 382
Downloads: 1,335,469
Commits (30d): 0
Language: Python
License: MIT
Stars: 21
Forks: 11
Downloads: 380
Commits (30d): 0
Language: Python
License: MIT
No risk flags
Stale 6m No Dependents

About gTTS

pndurette/gTTS

Python library and CLI tool to interface with Google Translate's text-to-speech API

Supports unlimited text length through intelligent sentence tokenization that preserves intonation and handles abbreviations, decimals, and special cases. Output is flexible—write directly to MP3 files, file-like objects for audio processing pipelines, or stdout for streaming. Includes customizable text pre-processors for pronunciation corrections and leverages Google Translate's undocumented speech endpoint rather than the official Cloud API.

About tts-wrapper

mediatechlab/tts-wrapper

TTS-Wrapper makes it easier to use text-to-speech APIs by providing a unified and easy-to-use interface.

Supports six TTS providers (AWS Polly, Google, Microsoft, IBM Watson, PicoTTS, SAPI) with pluggable client architecture that abstracts away different authentication methods and APIs. Features SSML markup support with service-specific boilerplate generation, voice/language selection, and flexible output formats (WAV, MP3). Optional dependencies per service reduce installation footprint while maintaining a consistent `synth()` interface across all backends.

Related comparisons

Scores updated daily from GitHub, PyPI, and npm data. How scores work