Skip to main content

A library to help create apps for the voice assistant Snips

Project description

Build status Maintainability Test coverage Code quality Documentation status PyPI package version Supported Python versions License

SnipsKit is a Python library with some helper tools to work with the voice assistant Snips. This can be used by Snips apps or other programs that work with Snips.

With SnipsKit, you can create Snips apps without having to write much boilerplate code. The simplest example of an app using SnipsKit is the following:

from import HermesSnipsApp
from import intent

class SimpleSnipsApp(HermesSnipsApp):

    def example_intent(self, hermes, intent_message):
                                   "I received ExampleIntent")

if __name__ == "__main__":

And that’s it! No need to connect to an MQTT broker, no need to register callbacks, because the HermesSnipsApp class:

  • reads the MQTT connection settings from the snips.toml file;
  • connects to the MQTT broker;
  • registers the method with the intent decorator as a callback method for the intent ‘User:ExampleIntent’;
  • starts the event loop.

SnipsKit also has decorators for other events, and there’s also a class MQTTSnipsApp to listen to MQTT topics directly. Moreover, SnipsKit also gives the app easy access to:

  • the Snips configuration;
  • the Hermes or MQTT connection object;
  • the assistant’s configuration;
  • the app’s configuration.


SnipsKit is currently alpha software. Anything may change at any time. The public API should not be considered stable.

System requirements

SnipsKit is a Python 3-only library, requiring Python 3.5 or higher. It’s currently tested on Python 3.5, 3.6 and 3.7.


SnipsKit is packaged on PyPI. The latest stable version with all functionality can be installed with the following command:

pip3 install snipskit[hermes,mqtt]


The full documentation can be found on Read the Docs, for both the stable version and the development version.

Project details

Download files

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

Files for snipskit, version 0.6.0
Filename, size File type Python version Upload date Hashes
Filename, size snipskit-0.6.0-py3-none-any.whl (23.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size snipskit-0.6.0.tar.gz (13.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page