{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"}],"enrichment":{"capability":"pyttsx3 converts text to speech offline using your system's native TTS engines, with control over voice, speed, volume, and the ability to save audio to files.","skillfed_tags":["offline-first","accessibility","speech-synthesis"],"use_cases":["Build accessibility features into desktop or CLI applications that read text aloud for visually impaired users.","Create voice-based notifications or alerts in automation scripts without relying on external APIs.","Generate audio files from text for offline use in educational or training materials.","Add voice output to chatbots or interactive command-line tools running on local machines.","Prototype voice-enabled features in applications where cloud TTS latency or cost is prohibitive."],"what_it_does":"pyttsx3 is a Python library that performs text-to-speech conversion entirely offline, without requiring internet access or external API calls. It wraps platform-native TTS engines: SAPI5 on Windows, AVSpeech and NSSpeechSynthesizer on macOS, and eSpeak on Linux. You initialize an engine, configure voice, rate, and volume properties, then call methods to speak text aloud or save it as an audio file.\n\nThe library is designed for developers and end users who need reliable, low-latency speech synthesis without cloud dependencies. It supports multiple voices where available on the system and exposes a simple API for both quick one-liners and detailed engine configuration. Platform-specific runtime dependencies (Windows COM bindings, macOS Objective-C bridge, Linux eSpeak) are pulled in automatically, though Linux users must install espeak-ng and libespeak1 system packages separately.","worth_installing":"Yes, if you need offline text-to-speech. The library is actively maintained, has no known vulnerabilities, and installs with low friction. The MPL-2.0 copyleft license is permissive for most use cases. Main caveat: platform-specific system dependencies (especially on Linux) and the need to manage multiple OS-level TTS engines mean setup varies by OS. Suitable for developers building accessibility, automation, or voice features into local applications."},"id":"pyttsx3","links":{"html":"https://skillfed.io/packages/pyttsx3","md":"https://skillfed.io/packages/pyttsx3.md","pypi":"https://pypi.org/project/pyttsx3/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-07-08","license_spdx":"MPL-2.0","license_treatment":"copyleft","name":"pyttsx3","python_support":"unspecified","summary":"Text to Speech (TTS) library for Python 3. Works without internet connection or delay. Supports multiple TTS engines, including Sapi5, nsss, and espeak."},"popularity":{"monthly_downloads":906177,"position":4760,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.99"}
