Skip to main content

Simple wrapper for gTTS and pygame to play audio directly from buffer

Project description

gspeak

This is just a simple no fuss wrapper around gTTS that plays buffers directly using pygame. I had found some articles with people posting various solutions, but this is the only one that I could get to work. I figured I might as well make it available for others too.

Quickstart

from gspeak import speak

speak("yo dog what it is")

Install

pip install gspeak

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

gspeak-1.0.0.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

gspeak-1.0.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gspeak-1.0.0.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1.post20200802 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for gspeak-1.0.0.tar.gz
Algorithm Hash digest
SHA256 10526424a2ac8c86c8d1b0146085eb2cfcdcb8aeedc84ebe61bffc600a231484
MD5 bef2c68ee51a5f0e0ac02a6a36596f04
BLAKE2b-256 f728c7de0f056c776ff9ec14883e17fe38d05533f9cb1fd354a8d4b932b1d894

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gspeak-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1.post20200802 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for gspeak-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 224ce3cc95c91b0655f65bcf8d69946bb4e5845a42dc6eefea2a13293ab6f923
MD5 e34dc8f706676d63d212478729cffdae
BLAKE2b-256 2d290617dfdcb65a6fb8b7c83b666f6a009fad0d47da975514dbe5b00d0197ca

See more details on using hashes here.

Supported by

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