v0.4.2
KoljaB/RealtimeTTSv0.4.2Jul 4, 2024by KoljaB
AI Summary
Refactored the installation process to support optional extras and updated dependent libraries.
Key Highlights
- Support for customized installations
- Upgraded dependent libraries
- Fixed Python 3.12 compatibility
Breaking Changes
- Installation command changed to require `[all]` suffix for full functionality
New Features
- Custom installation options (all, system, azure, elevenlabs, openai, gtts, coqui, minimal)
Full Release Notes
- support for customized installations - upgraded version numbers of dependent libraries raised to latest versions - fixed #96: expanded python_requires to include Python 3.12 (now '>=3.9, <3.13') ❗️ Please use `pip install realtimetts[all]` instead of `pip install realtimetts` now. To install RealtimeTTS with support for all TTS engines: ```bash pip install -U realtimetts[all] ``` ### Custom Installation RealtimeTTS allows for custom installation with minimal library installations. Here are the options available: - **all**: Full installation with every engine supported. - **system**: Includes system-specific TTS capabilities (e.g., pyttsx3). - **azure**: Adds Azure Cognitive Services Speech support. - **elevenlabs**: Includes integration with ElevenLabs API. - **openai**: For OpenAI voice services. - **gtts**: Google Text-to-Speech support. - **coqui**: Installs the Coqui TTS engine. - **minimal**: Installs only the base requirements with no engine (only needed if you want to develop an own engine) Say you want to install RealtimeTTS only for local neuronal Coqui TTS usage, then you should use: ```bash pip install realtimetts[coqui] ``` If for example you want to install RealtimeTTS with only Azure Cognitive Services Speech, ElevenLabs, and OpenAI support: ```bash pip install realtimetts[azure,elevenlabs,openai] ``` ### Virtual Environment Installation For those who want to perform a full installation within a virtual environment, follow these steps: ```bash python -m venv env_realtimetts env_realtimetts\Scripts\activate.bat python.exe -m pip install --upgrade pip pip install -U realtimetts[all] ```