Skip to main content

Google Translate Text-To-Speech

PyPI - Version

Pylint Score


The google_text_to_speech package is a Python-based solution designed to provide versatile and user-friendly text-to-speech (TTS) capabilities. Leveraging the Google Translate TTS API, it enables users to convert written text into spoken words in various languages.

.
├── clean_up_ws.sh
├── coverage.sh
├── docs
│   ├── conf.py
│   ├── index.rst
│   ├── make.bat
│   ├── Makefile
│   ├── prepare_plantuml.sh
│   ├── requirements.txt
│   ├── resources
│   │   └── LabSoft2.png
│   └── src
│       ├── architecture.md
│       └── user_stories.md
├── images
│   └── TransparentLogo.png
├── LICENSE
├── README.md
├── requirements.txt
├── setup.py
├── src
│   └── google_text_to_speech
│       ├── google_translate_tts.py
│       ├── __init__.py
│       └── _version.py
└── tests
    ├── test_google_translate_tts.py
    └── test-reports

8 directories, 20 files

Table of Contents

Installation

pip install google_text_to_speech

Quick Start

from google_text_to_speech import play_tts

# Text to be converted to speech
text = "Hello World!"
language = "en"  # Language code (e.g., "en" for English)

# Calling the text-to-speech function
play_tts(text, language)

Features

  • Multiple Language Support: Utilizes Google's TTS service to offer speech synthesis in numerous languages.
  • Handling of Large Texts: Splits long texts into sentences to avoid limitations related to URL length and TTS service constraints.
  • Real-Time Audio Playback: Converts text to speech in real-time, with the capability to play the audio immediately.

Documentation and Reports

Contributing

Contributions are welcome! Please read our Contributing Guidelines for more information.

License

This project is licensed under the MIT License.


Developed with ❤️ by

labsoft.ai

Metadata

Release files for google-text-to-speech 0.1.27

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for google-text-to-speech 0.1.27
File Size Uploaded Provenance Actions
google_text_to_speech-0.1.27.tar.gz 5.3 kB Without provenance Details for google_text_to_speech-0.1.27.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for google-text-to-speech 0.1.27
File Interpreter ABI Platform Actions
google_text_to_speech-0.1.27-py3-none-any.whl Python 3 none any Details for google_text_to_speech-0.1.27-py3-none-any.whl

Total release size: 10.9 kB

Release files / google_text_to_speech-0.1.27.tar.gz

Download URL google_text_to_speech-0.1.27.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a084d9dd57c151553cdcfa0b3c8df6563339f5ddb543b14d0637841be0e47939
BLAKE2b-256 checksum
How to use checksums
848a0bb11990674e74302e795f466b28d369d2cfee824bf389eb73d695638c3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.18

Release files / google_text_to_speech-0.1.27-py3-none-any.whl

Download URL google_text_to_speech-0.1.27-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd576a148240487cc38d6c21706dd8a994c99089dba31e9002ef54e29b6735d1
BLAKE2b-256 checksum
How to use checksums
cd93dc88e919fcd028d6768b9ed22ad439aff208d2071f15b5e88b049142e20c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.18

Security for google-text-to-speech 0.1.27

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page