Skip to main content

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

texttospeech_sundar-1.0.3.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

texttospeech_sundar-1.0.3-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file texttospeech_sundar-1.0.3.tar.gz.

File metadata

  • Download URL: texttospeech_sundar-1.0.3.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for texttospeech_sundar-1.0.3.tar.gz
Algorithm Hash digest
SHA256 23b6dba1c3572ad5e978aa15fc1411031e3da18cf0c843ecace141c8cbbb1489
MD5 142641529967ffe184a732a57a74c005
BLAKE2b-256 9519f292a3cc6f12ce5f0147508289a685f77a623e44bd362dceff73d826283d

See more details on using hashes here.

File details

Details for the file texttospeech_sundar-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for texttospeech_sundar-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 83ffeeb3e12332133539506150620baa085792e9f3dbb03dee0edc536e1b9643
MD5 bd9c98a8f61bbe378f9c8be8dd508fc2
BLAKE2b-256 b703bd7e7205ecc05e18557ce58f1caf72df9d74c7cd6922825e0b772658c108

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page