The function replaced by this, pyblish.api.current_host(), still works, but has been deprecated. It is recommended that you transition to using pyblish.api.registered_hosts() which will return a list of currently registered hosts.
current_host() now returns the tip of this list, which is compatible with how hosts are registered by default in the updated integrations, so nothing should break.
Maya
Nuke
Houdini
>>> pyblish.api.current_host()
'maya'
Host registration is typically the responsibility of an integration, such as Pyblish for Maya, and looks like this.
Maintenance fixes include being able to customise the ports at which clients communicate with Pyblish QML.
import pyblish_maya
pyblish_maya.setup(port=10001) # Defaults to 9001
Following this command, Maya will attempt to claim port 10001 unless it is already occupied by either another host, or another unrelated process on the local machine. This ensures that ports can never run out, enabling a host count of ~40.000.
Pyblish X 0.1.7 - Full list of changes
Updated Pyblish to 1.1.6
Bugfix: Duplicate instances was allowed (#219)
Added pyblish.plugin.plugins_from_module
Updated Pyblish QML to 0.3.0
Feature: Added button Validate (#115)
Enhancement: Added the ability to customise the port
at which QML distributes ports for connecting clients. (#114)
Enhancement: Added additional metadata to terminal