hrpyc module

This module provides access to Houdini (via the hou module) from a separate Python process. It uses the RPyC library (rpyc.wikidot.com).

To start a server (in a new thread), run:
hrpyc.start_server()

This function returns the thread that was created.

To attach to the server from a client, run:
connection, hou = hrpyc.import_remote_module()

The connection will remain open for the lifetime of the connection object, and you can treat hou just as though you imported the hou module.

hrpyc.import_remote_module(server='127.0.0.1', port=18811, name='hou')
hrpyc.start_server(port=18811, use_thread=True, quiet=True)