Skip to main content

Async interfaces to the easy-gTTS-API

Project description

easy-gTTS-py

Asynchronous interface to an easy-gtts server written with aiohttp.

Examples

import asyncio
from easygTTS import AsyncEasyGTTSSession


async def main():
    async with AsyncEasyGTTSSession("https://easy-gtts-api.dingus-server.regulad.xyz/") as text_to_speech:
        audio_bytes = await text_to_speech.synthesize("Hello, stinky world!")

    with open("Hello_world.mp3", "wb") as f:
        f.write(audio_bytes)
asyncio.run(main())

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

easy-gTTS-0.1.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

easy_gTTS-0.1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file easy-gTTS-0.1.1.tar.gz.

File metadata

  • Download URL: easy-gTTS-0.1.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for easy-gTTS-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9c4e9e508bd2cfcabeae61f2a2383de539de5ba889eeb44745952062a5e9f059
MD5 9d9c7f05b96fb0a70b9f5323e2558b92
BLAKE2b-256 a9c0ac5c6e38526d5505d53bdc358962707479264b95558abdddd9c35627651d

See more details on using hashes here.

Provenance

File details

Details for the file easy_gTTS-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: easy_gTTS-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for easy_gTTS-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3070df645cf2fbb20d2261afd10318d0977963ee78087dfc145938a4cac7cce0
MD5 1762071d2688cf69f2cf19d766a04746
BLAKE2b-256 e3c30b9d3be16fea3de19daa577fba4f23079e188aede64ad9aac40db8709051

See more details on using hashes here.

Provenance

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