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 aiohttp
from rhasspyclient import RhasspyClient
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)
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 Distribution
rhasspy-client-1.0.0.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for rhasspy_client-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ab30867906af947b8c8d60340ff0082c7d8da230e8ca92cc7ef6a2a6101f8b1 |
|
MD5 | 7a19bf12d2812c4e490d3f9f62a0ab3d |
|
BLAKE2b-256 | 745678430e5e312e3d925a33b493ab75e9f03b9ac5e8af633558d7a2be14274b |