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 details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c4e9e508bd2cfcabeae61f2a2383de539de5ba889eeb44745952062a5e9f059 |
|
MD5 | 9d9c7f05b96fb0a70b9f5323e2558b92 |
|
BLAKE2b-256 | a9c0ac5c6e38526d5505d53bdc358962707479264b95558abdddd9c35627651d |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3070df645cf2fbb20d2261afd10318d0977963ee78087dfc145938a4cac7cce0 |
|
MD5 | 1762071d2688cf69f2cf19d766a04746 |
|
BLAKE2b-256 | e3c30b9d3be16fea3de19daa577fba4f23079e188aede64ad9aac40db8709051 |