{"id":13767572,"url":"https://github.com/rhasspy/rhasspy-hermes","last_synced_at":"2025-03-06T12:17:44.538Z","repository":{"id":45438868,"uuid":"231020023","full_name":"rhasspy/rhasspy-hermes","owner":"rhasspy","description":"Python classes for Hermes protocol","archived":false,"fork":false,"pushed_at":"2023-12-09T00:41:40.000Z","size":1004,"stargazers_count":2,"open_issues_count":10,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-18T19:39:50.070Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhasspy.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-31T03:36:17.000Z","updated_at":"2023-02-15T17:43:04.000Z","dependencies_parsed_at":"2024-08-03T16:05:43.244Z","dependency_job_id":"b66fa221-42ee-44c4-9537-7db8dc6e7be2","html_url":"https://github.com/rhasspy/rhasspy-hermes","commit_stats":{"total_commits":235,"total_committers":6,"mean_commits":"39.166666666666664","dds":0.5829787234042554,"last_synced_commit":"403ea1cbcb12dbbcfa0cf55e9a8806089bbf1f68"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhasspy%2Frhasspy-hermes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhasspy%2Frhasspy-hermes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhasspy%2Frhasspy-hermes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhasspy%2Frhasspy-hermes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhasspy","download_url":"https://codeload.github.com/rhasspy/rhasspy-hermes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242206036,"owners_count":20089255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T16:01:09.857Z","updated_at":"2025-03-06T12:17:44.521Z","avatar_url":"https://github.com/rhasspy.png","language":"HTML","funding_links":[],"categories":["Apps and app platforms"],"sub_categories":[],"readme":"##############\nRhasspy Hermes\n##############\n\n.. image:: https://github.com/rhasspy/rhasspy-hermes/workflows/Tests/badge.svg\n   :target: https://github.com/rhasspy/rhasspy-hermes/actions\n   :alt: Continuous integration\n\n.. image:: https://img.shields.io/pypi/v/rhasspy-hermes.svg\n   :target: https://pypi.org/project/rhasspy-hermes\n   :alt: PyPI package version\n\n.. image:: https://img.shields.io/pypi/pyversions/rhasspy-hermes.svg\n   :target: https://www.python.org\n   :alt: Supported Python versions\n\n.. image:: https://img.shields.io/github/license/rhasspy/rhasspy-hermes.svg\n   :target: https://github.com/rhasspy/rhasspy-hermes/blob/master/LICENSE\n   :alt: License\n\nPython classes for `Hermes protocol`_ support in Rhasspy_.\n\n.. _Rhasspy: https://rhasspy.readthedocs.io/en/latest/\n\n.. _`Hermes protocol`: https://docs.snips.ai/reference/hermes\n\n************\nInstallation\n************\n\nInstall the latest version of the package from PyPI:\n\n.. code-block:: shell\n\n  pip3 install rhasspy-hermes\n\n******************\nCommand-Line Usage\n******************\n\nA command-line interface is available to do some basic transcription, intent recognition, text to speech, and wakeword tasks. Run the following command:\n\n.. code-block:: shell\n\n  python3 -m rhasspyhermes --help\n\nto see the available commands and their options. You can add a ``--debug`` argument to see DEBUG information.\n\nEach 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.\n\nExamples\n========\n\nTranscribe multiple WAV files:\n\n.. code-block:: shell\n\n  python3 -m rhasspyhermes transcribe-wav /path/to/my-1.wav /path/to/my-2.wav ...\n  { ... }  # prints hermes/asr/textCaptured message for my-1.wav\n  { ... }  # prints hermes/asr/textCaptured message for my-2.wav\n\nTranscribe a WAV file (stdin):\n\n.. code-block:: shell\n\n  python3 -m rhasspyhermes transcribe-wav \u003c /path/to/my.wav\n  { ... }  # prints hermes/asr/textCaptured message\n\nRecognize an intent from text:\n\n.. code-block:: shell\n\n  python3 -m rhasspyhermes recognize-intent 'turn on the living room lamp'\n  { ... }  # prints hermes/intent/\u003cintentName\u003e message\n\nSpeak a sentence:\n\n.. code-block:: shell\n\n  python3 -m rhasspyhermes speak-sentence --language en 'what can I do for you, human?'\n  { ... }  # prints hermes/tts/sayFinished message\n\nWait for wake word:\n\n.. code-block:: shell\n\n  python3 -m rhasspyhermes wait-wake\n  { ... }  # prints hermes/hotword/\u003cwakewordId\u003e/detected message\n\n*******\nLicense\n*******\n\nThis project is provided by `Michael Hansen`_ as open source software with the MIT license. See the LICENSE_ file for more information.\n\n.. _`Michael Hansen`: mailto:hansen.mike@gmail.com\n\n.. _LICENSE: https://github.com/rhasspy/rhasspy-hermes/blob/master/LICENSE","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhasspy%2Frhasspy-hermes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhasspy%2Frhasspy-hermes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhasspy%2Frhasspy-hermes/lists"}