A CLI frontend and API for the Kalliope REST API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
Franco Masotti 4822b0e56a
Moved todo to https://github.com/frnmst/todo/blob/master/todo/kalliope-rest.md.
4 years ago
docs Fixed code. Moved documentation to sphinx. 5 years ago
kalliope_rest Fixed code. Moved documentation to sphinx. 5 years ago
tests Fixed code. Moved documentation to sphinx. 5 years ago
.gitignore Initial commit 5 years ago
LICENSE.txt Changed readme for markdown to reST syntax. 5 years ago
Makefile Added one of the new mute commands. Added the possibility to use the core part of the script as an API. Added Makefile. Updated readme. 5 years ago
README.rst Moved todo to https://github.com/frnmst/todo/blob/master/todo/kalliope-rest.md. 4 years ago
setup.py Typo. 5 years ago

README.rst

kalliope-rest

A CLI frontend and API for the Kalliope REST API

Examples

Command Line Interface example

$ kalliope-rest exec by-audio "hello-command.wav" --voice

{
    "matched_synapses": [
    {
      "matched_order": "Bonjour",
      "neuron_module_list": [
        {
          "generated_message": "Bonjour monsieur",
          "neuron_name": "Say"
        }
      ],
      "synapse_name": "say-hello-fr"
    }
  ],
  "status": "complete",
  "user_order": "bonjour"
}

Application Programming interface example

>>> import kalliope_rest >>> print(kalliope_rest.get_kalliope_version('http://127.0.0.1:5000','admin','secret')) { "Kalliope version": "0.4.6" }

Documentation

https://frnmst.github.io/kalliope-rest/index.html

Copyright (c) 2017, Franco Masotti <franco.masotti@student.unife.it>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.