Client library for talking to remote Rhasspy server
Project description
Rhasspy Client
Basic client library for talking to a remote Rhasspy server. Uses aiohttp.
Example
import asyncio
import aiohttp
from rhasspyclient import RhasspyClient
async def main():
async with aiohttp.ClientSession() as session:
client = RhasspyClient("http://localhost:12101/api", session)
result = await client.text_to_intent("what time is it")
print(result)
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Module CLI
You can run the module too:
$ python3 -m rhasspyclient <COMMAND> [<ARG>, ...]
Use --help to see available commands.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rhasspy_client-1.1.1-py3-none-any.whl.
File metadata
- Download URL: rhasspy_client-1.1.1-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a2782f188222152fbd48365f0b39cfcd6b495f55682b6927b0f148f36cde905
|
|
| MD5 |
74050b264deaf354f8697ed142f295a1
|
|
| BLAKE2b-256 |
e31fdf206dcdee377f1457c1882d317b72127388b3ca56002fa7d61940daef06
|