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.4.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.4-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: texttospeech_sundar-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 b0f78cfad0f149c53df2d8352daaa1ff34dc5b92111c8e96183808f342f90326
MD5 6a5454acc0c41f4dd91e79ce1f965d25
BLAKE2b-256 0d0efaf17f35a527cfb32b374e36dd79db94e6569283ef74a012900478e8b0df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for texttospeech_sundar-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6bef31a9eecdf47920ede23eec134de1201b61337465ff6101587fb7196020c5
MD5 d646f63f67c545aa630568ea3cdf7a60
BLAKE2b-256 bc19b9a5b130ef6b0797f4887c920a48ec5f81a07752cd9a5c70751f233943f4

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