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.5.tar.gz (2.5 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.5-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: texttospeech_sundar-1.0.5.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

Hashes for texttospeech_sundar-1.0.5.tar.gz
Algorithm Hash digest
SHA256 82dd6ab5798a1e5f6a6e40cc41484f0a779d5e3db5612696e25b85bdc9cb4363
MD5 4d1b419da6fab1de664dacd3e00e4ae9
BLAKE2b-256 ac67784d84abad0643917776f26b3c0533495ea5151047eff15ccf1b23967f09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for texttospeech_sundar-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 92a58e008db57f688926156fb374575366e5bf432038eb591218c3fa817d3416
MD5 c7995979f77524b89ce451e4f2467543
BLAKE2b-256 6a1907d95ce22d0d6a6c7781246b353ca7ac506a209aeacc46ab9562a0b8b8ff

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