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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for easy_gTTS-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3070df645cf2fbb20d2261afd10318d0977963ee78087dfc145938a4cac7cce0 |
|
MD5 | 1762071d2688cf69f2cf19d766a04746 |
|
BLAKE2b-256 | e3c30b9d3be16fea3de19daa577fba4f23079e188aede64ad9aac40db8709051 |