Hybrid online+offline text-to-speech package
Project description
texttospeech-sundar
A simple hybrid text-to-speech package that works online and offline.
Features
- Online mode → High-quality Google TTS (gTTS)
- Offline mode → pyttsx3 (works without internet)
- Auto-detection of internet
- Ability to save or directly play the audio
Installation
pip install texttospeech_sundar
Usage
from texttospeech_sundar import tts_sundar
tts_sundar("Hello welcome")
path = tts_sundar("Hello world!", play_audio=False, save_path="output.mp3")
print(path)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file texttospeech_sundar-1.0.2.tar.gz.
File metadata
- Download URL: texttospeech_sundar-1.0.2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dabd363e693f25b01397a3e1d2e5b9a940491263bcfde9365bd7963bb00d8563
|
|
| MD5 |
1b5f18eed3bbe682346237f998485856
|
|
| BLAKE2b-256 |
2a61844f7e2b19f339e21073d20ffe3dfef2192bdcef8de9d97665bfb2e4b492
|
File details
Details for the file texttospeech_sundar-1.0.2-py3-none-any.whl.
File metadata
- Download URL: texttospeech_sundar-1.0.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96f28a36a78e64d548b48145a2ba02212f3771ad7f24a2d647d3b194da4bc335
|
|
| MD5 |
528fffa5f8a174978623d98c7190c158
|
|
| BLAKE2b-256 |
6f65d14bcdfc786a93985d557568c826501751803842275a0d576839b17ccb12
|