Our first publish will be about printing the classic "Hello World" to the screen. Here is the full source code.
import pyblish.apiclass MyPlugin(pyblish.api.ContextPlugin):def process(self, context):print("hello python")pyblish.api.register_plugin(MyPlugin)import pyblish.utilpyblish.util.publish()
Running this in any Python environment, such as a standalone or built-in interpreter, will cause hello python to be printed to the screen.