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 details)
Built Distribution
File details
Details for the file rhasspy-client-1.0.0.tar.gz
.
File metadata
- Download URL: rhasspy-client-1.0.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a47364c198dd590f372510dd3d43c4e49df9fc4d7798e908f82ffb4dd724a32f |
|
MD5 | b879831ddb97b3ba797fa03bf7c890b1 |
|
BLAKE2b-256 | b6456c30bd36b6c35457fa49120afb175ad7d93457c6f88ad94e3ed32a3e3690 |
File details
Details for the file rhasspy_client-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: rhasspy_client-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ab30867906af947b8c8d60340ff0082c7d8da230e8ca92cc7ef6a2a6101f8b1 |
|
MD5 | 7a19bf12d2812c4e490d3f9f62a0ab3d |
|
BLAKE2b-256 | 745678430e5e312e3d925a33b493ab75e9f03b9ac5e8af633558d7a2be14274b |