A uuid1 can help:
>>> import uuid
>>> uuid.uuid1()
UUID('b46fa8cf-1fc1-11df-b891-001641ec3fab')
>>>
For more details see pydoc uuid and RFC 4122, I think the last 48 bits are unique to the host. Not sure if you are calling / returning this in Parallel python.
In pp.pyI found:
self.__stats[hostid] = _Statistics(ncpus, rworker)
get_stats() :
get_stats ()
.