Just to let you know there’s change coming.
I’m working on better integrating Pyblish Lite into the Pyblish ecosystem by extracting Pyblish QML from any integration, making it optional alonside Lite.
What this means is smaller packages in general and more freedom in terms of customising things.
These projects will be affected.
- pyblish-base (PR)
- pyblish-qml (PR)
- pyblish-maya (PR)
- pyblish-rpc (retired)
- pyblish-integration (retired)
- pyblish-nuke (todo)
- pyblish-houdini (todo)
In short, once all is said and done, you’ll be able to do this.
import pyblish.api pyblish.api.register_gui("pyblish_lite") pyblish.api.register_gui("pyblish_qml") import pyblish_maya pyblish_maya.show() # Pyblish QML appears, if installed.. # otherwise, Lite appears as a fallback
And you may build your own GUI, expose a
.show() function from your Python package, and register that. Either as a fallback, or primary GUI.
Keep an eye on the PRs, and do take a moment to glance through their updated READMEs for details. And let me know what you think.
Bye bye pyblish-rpc
pyblish-rpc was made in conjuction with pyblish-qml in an effort to provide a uniform interprocess communication interface to Pyblish that many GUIs could speak with to provide graphics from any number of libraries or programming languages. It’s a language agnostic endpoint, capable of communicating both locally and remotely.
Now, a year later, pyblish-qml is still the only inhabitant and as such it is being married to the project in order to simplify it as a whole and cut down on the number of steps required to get setup with it.
Using pyblish-qml is now only a matter of showing it; remote communication can happen transparently in the background, and versions of the two will never conflict or become out of date.
import pyblish_qml pyblish_qml.show()
This aligns with pyblish-lite, and future graphical user interfaces.
import pyblish_lite pyblish_lite.show()