Skip to main content

Client library for talking to remote Rhasspy server

Project description

Rhasspy Client

Continous Integration PyPI package version Python versions GitHub license

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


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

rhasspy_client-1.1.1-py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page