stoQ is extremely lightweight and strives for minimal dependencies. It can be installed either via pip or directly from source. Once you have stoQ installed, it’s just a matter of installing the required plugins for your use case. stoQ has over 40 publicly available plugins that can be found in their own repository here.

Minimum requirements

stoQ requires a minimum of python 3.6 and is recommended to be run in a python venv.

Initial Setup

Setup a $STOQ_HOME (defaults to ~/.stoq) folder, the necessary plugin folder and a virtual environment:

$ mkdir -p ~/.stoq/plugins
$ python3 -m venv ~/.stoq/.venv
$ source ~/.stoq/.venv/bin/activate


The simplest way to get started is to install stoQ from pip:

$ pip3 install stoq-framework


If you would rather use the latest development version, you can simply clone the repository and install from there:

$ git clone

Then, simply open the stoq directory and install:

$ cd stoq
$ python3 install

Installing Plugins

There are two ways of installing stoQ plugins. All core public plugins can be installed via the command line directly from GitHub. Additionally, plugins can be installed from a local directory.

From GitHub

Once you have stoQ installed, you can start installing the publicly available plugins. For a full listing of plugins and a description of their functionality, you can visit the stoQ public plugins repository here.

In order to install plugins from the stoQ plugin repository, you can use the stoq command:

$ stoq install --github stoq:PLUGIN_NAME

For this example, let’s just install the yara and stdout plugins. First, let’s install the yara plugin:

$ stoq install --github stoq:yara
Successfully installed to ~/.stoq/plugins/yara

Now, let’s install the stdout plugin:

$ stoq install --github stoq:stdout
Successfully installed to ~/.stoq/plugins/stdout

From directory

Plugins can also be installed from a local directory. This is useful if you have custom or third party plugins. Additionally, plugins can be installed from a cloned version of stoQ’s public plugin repository:

$ stoq install path/to/plugin

Dev Environment

Want to try stoQ out or setup a development environment? It’s simple. Just clone the stoQ repository then startup a virtual machine using Vagrant.

First, clone the repository:

$ git clone

Then, simply go into the stoq directory and startup Vagrant:

$ cd stoq
$ vagrant up


You’ll need to ensure you have Vagrant installed and setup.