{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/2"},{"label":"Speech","url":"https://skillfed.io/packages/category/multimedia-sound-audio-speech"}],"enrichment":{"capability":"gTTS converts text to speech using Google Translate's API, writing MP3 audio to files, file-like objects, or stdout via Python library or command-line tool.","skillfed_tags":["text-to-speech","audio-generation","cli-tool"],"use_cases":["Generate spoken audio files from text for accessibility or content creation workflows.","Build a command-line tool to batch-convert text documents or scripts into MP3 files.","Integrate text-to-speech into a Python application without setting up a paid cloud service.","Preprocess and customize pronunciation in generated speech using text pre-processors.","Stream audio output directly to stdout for piping into other audio processing tools."],"what_it_does":"gTTS is a Python wrapper around Google Translate's undocumented text-to-speech functionality. It lets you generate MP3 audio from text strings and save them to disk, pass them to other audio libraries, or stream to stdout. The library includes a customizable sentence tokenizer to handle long texts while preserving intonation, abbreviations, and decimals, and supports custom text pre-processors for pronunciation corrections.\n\nYou can use it as a Python module or via a command-line tool (gtts-cli). It supports modern Python versions (3.8\u20133.12) across macOS, Windows, and Linux. The project is not affiliated with Google and relies on an undocumented API, so breaking changes can occur without notice\u2014it is explicitly different from the official Google Cloud Text-to-Speech service.","worth_installing":"Yes, if you need lightweight, free text-to-speech without cloud setup. The low install friction, active maintenance, and MIT license make it straightforward to adopt. However, be aware that it depends on Google Translate's undocumented API\u2014upstream changes can break it without notice, and it is not a substitute for official Google Cloud Text-to-Speech if you need production-grade reliability or SLA guarantees."},"id":"gtts","links":{"html":"https://skillfed.io/packages/gtts","md":"https://skillfed.io/packages/gtts.md","pypi":"https://pypi.org/project/gtts/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-11-10","license_spdx":null,"license_treatment":"permissive","name":"gTTS","python_support":"supports_current","summary":"gTTS (Google Text-to-Speech), a Python library and CLI tool to interface with Google Translate text-to-speech API"},"popularity":{"monthly_downloads":5340702,"position":2115,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.5.4"}
