How to run just collection?

Looking to make a tool that uses the collected data from pyblish for processing.

Is it possible to run only a selection of plugins, when others are in the PYBLISHPLUGINPATH?

Basically looking to register a handful of collectors, and process the context.

Try this.

import pyblish.util
context = pyblish.util.collect()

Alternatively, for finer control you could manually discover all plug-ins, and pass only the ones you want to run to publish().

import os
import pyblish.api
import pyblish.util

plugins = [p for p in
           if "Special" in p.__name__]
context = pyblish.util.publish(plugins=plugins)