Skip to main content

Snips Skills Manager

Project description

Snips Manager

Build Status PyPI MIT License

The Snips Manager Manager is a tool for easily setting up and managing a Snips assistant.

A single configuration file, the Snipsfile, is required to create a Snips assistant. In it, you specify:

  • The URL of your assistant, as created in the Snips Console

  • The skills you want to install

  • Bindings between intents and skills

  • If required, additional parameters for you skill, such as an API key or the address of a lamp

  • Various configuration parameters, such as language and logging preferences.

Check out Awesome Snips, a curated list of Snips skills, assistants and other resources to get you started. In particular, make sure to read the Getting Started guide.

Installation

Raspbian

Snips Manager is available as an apt-get package. To install it, first add the Snips repository to your list of apt-get sources. In the folder /etc/apt/sources.list.d, create a file called snips.list, and add the line:

deb https://s3.amazonaws.com/snips-deb/ stable main

Then run:

$ sudo apt-get update
$ sudo apt-get install snipsmanager

macOS

Snips Manager is available on macOS via Homebrew. To install it, simply run:

$ brew install snipsmanager

Usage

Creating the Snipsfile

Start your project by creating a Snipsfile, which is where all the configuration is set. This is a simple text file, adhering to the YAML format. Here is a basic configuration:

assistant_url: <YOUR ASSISTANT URL>
locale: en_US
logging: True
default_location: Paris,fr
skills:
  - package_name: snipshue
    class_name: SnipsHue
    url: https://github.com/snipsco/snips-skill-hue
    params:
      hostname: <PHILIPS HUE IP>
      username: <PHILIPS HUE USERNAME>
      light_ids: [1, 2, 3, 4, 5, 6]
    intents:
      - intent: ActivateLightColor
        action: "turn_on"
      - intent: DeactivateObject
        action: "turn_off"

For further explanations and examples, check out our Snipsfile Wiki.

Installing the skills

Next, setup the system by running the install command:

$ snipsmanager install

Launching the skills server

If you enabled Snips Manager to run on boot, simply reboot your device. Otherwise, start the service manually by running:

$ snipsmanager run

Contributing

Please see the Contribution Guidelines.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snipsmanager-0.1.6.29.tar.gz (34.3 kB view details)

Uploaded Source

Built Distributions

snipsmanager-0.1.6.29-py2.py3-none-any.whl (54.9 kB view details)

Uploaded Python 2 Python 3

snipsmanager-0.1.6.29-py2.7.egg (113.0 kB view details)

Uploaded Source

File details

Details for the file snipsmanager-0.1.6.29.tar.gz.

File metadata

File hashes

Hashes for snipsmanager-0.1.6.29.tar.gz
Algorithm Hash digest
SHA256 48c4211058b06aa2c2de7945884cf684440007222999434a649a112f43c9dd1e
MD5 12fb2dc12b97aeeb4eaff04a9341ae7f
BLAKE2b-256 71e5a8de9b10edea92f88410bf1eec46a4c0ba5bcb4d0cbf3abd0c2c4dbbc69d

See more details on using hashes here.

File details

Details for the file snipsmanager-0.1.6.29-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for snipsmanager-0.1.6.29-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3d6f16535842dc7fce471bb1570f6c3cd9b86505d19fb27225f0ed33b2791f46
MD5 1ed9bcc21fb131897a027f6cae0a07e3
BLAKE2b-256 f271213bda7351dcf32ac2b0348699ca380cf4789a96cffd1bf14116892d06fa

See more details on using hashes here.

File details

Details for the file snipsmanager-0.1.6.29-py2.7.egg.

File metadata

File hashes

Hashes for snipsmanager-0.1.6.29-py2.7.egg
Algorithm Hash digest
SHA256 343170162426f94a1e1f5638bb3fbccdb764c862203e1bf71cbb75f48549e9ea
MD5 00d8a255210820d25768b785a7ba96b6
BLAKE2b-256 fc26bd397035f0b73904b363f8b047b43f9de933f48c0bfb6ff6d37b27e52da7

See more details on using hashes here.

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