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

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.0.tar.gz (2.3 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.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: texttospeech_sundar-1.0.0.tar.gz
  • Upload date:
  • Size: 2.3 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.0.tar.gz
Algorithm Hash digest
SHA256 64b8741ff61e4060a1ba8f4c57f4d075858b58b6650b43a2b661fccbe21037a4
MD5 2eedf35e0ebd9e9a74ef1d29cc7681a3
BLAKE2b-256 e4ec82699c783f1317be7b3e5b5bb0baf34ad50af065f22bba7b0cd31a39333f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for texttospeech_sundar-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b72345f79d68e671c57cb461a4f166ae0b692e4a016031c29dcd35bba5867ba2
MD5 ad4a6f786b588722b496e00c73aba514
BLAKE2b-256 b9dc6b3e8c662f29ca32d99925d24fc20de56a0defcd1c7e861baecd61c56d58

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