# Splitbrain Python

The Magnificent Splitbrain .. versionadded:: 3.3

`rpyc.experimental.splitbrain.``enable_splitbrain`()

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

`rpyc.experimental.splitbrain.``disable_splitbrain`()

  Disables (deactivates) the Splitbrain machinery

`rpyc.experimental.splitbrain.``splitbrain`(conn)

  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`()

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