Rhasspy Hermes
Python classes for Hermes protocol support in Rhasspy.
Installation
Install the latest version of the package from PyPI:
pip3 install rhasspy-hermes
Command-Line Usage
A command-line interface is available to do some basic transcription, intent recognition, text to speech, and wakeword tasks. Run the following command:
python3 -m rhasspyhermes --help
to see the available commands and their options. You can add a --debug argument to see DEBUG information.
Each command will print the appropriate Hermes response message(s) as JSON (one per line). With the --print-topics flag, the MQTT topic will be printed before each JSON message.
Examples
Transcribe multiple WAV files:
python3 -m rhasspyhermes transcribe-wav /path/to/my-1.wav /path/to/my-2.wav ...
{ ... } # prints hermes/asr/textCaptured message for my-1.wav
{ ... } # prints hermes/asr/textCaptured message for my-2.wav
Transcribe a WAV file (stdin):
python3 -m rhasspyhermes transcribe-wav < /path/to/my.wav
{ ... } # prints hermes/asr/textCaptured message
Recognize an intent from text:
python3 -m rhasspyhermes recognize-intent 'turn on the living room lamp'
{ ... } # prints hermes/intent/<intentName> message
Speak a sentence:
python3 -m rhasspyhermes speak-sentence --language en 'what can I do for you, human?'
{ ... } # prints hermes/tts/sayFinished message
Wait for wake word:
python3 -m rhasspyhermes wait-wake
{ ... } # prints hermes/hotword/<wakewordId>/detected message
License
This project is provided by Michael Hansen as open source software with the MIT license. See the LICENSE file for more information.
Metadata
Release files for rhasspy-hermes 0.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rhasspy-hermes-0.6.2.tar.gz | 29.6 kB | Without provenance | Details for rhasspy-hermes-0.6.2.tar.gz |
Release files / rhasspy-hermes-0.6.2.tar.gz
| Download URL | rhasspy-hermes-0.6.2.tar.gz |
|---|---|
| Size | 29.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfead7d95ba2e2453eb42d326edfc39b46f515842468ecf46a7e9f4b1630fc01
|
|
BLAKE2b-256 checksum How to use checksums |
44a2b628bfbcc18f67f0a40538ef3055616260c8f0978e95bc52723369e35900
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for rhasspy-hermes 0.6.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.