This might be a bit out of topic, but if you need to perform a task outside Python and get it done by a Lua VM, you might use a logic script.
Basically, you will need to set a logic script (in Lua) to an existing node, and get all your stuff done from there.
It works like this :
cube = plus.AddCube(scn, gs.Matrix4.Identity, 5)
You have an example here :
and the Lua logic script here :
/!\ This is not a direct use of workers, but Harfang will still balance the CPU load in a smart way.