Splitbrain Python

The Magnificent Splitbrain .. versionadded:: 3.3

rpyc.experimental.splitbrain.enable_splitbrain()[source]

Enables (activates) the Splitbrain machinery; must be called before entering splitbrain or localbrain contexts

rpyc.experimental.splitbrain.disable_splitbrain()[source]

Disables (deactivates) the Splitbrain machinery

rpyc.experimental.splitbrain.splitbrain(*args, **kwds)[source]

Enter a splitbrain context in which imports take place over the given RPyC connection (expected to be a SlaveService). You can enter this context only after calling enable()

rpyc.experimental.splitbrain.localbrain(*args, **kwds)[source]

Return to operate on the local machine. You can enter this context only after calling enable()