##// END OF EJS Templates
Adds configuration options to use Google Drive content manager...
Adds configuration options to use Google Drive content manager Adds the key contentmanager_js_source to webapp_settings that allows for specifying the content manager JavaScript source file. Also adds a NotebookManager subclass, ClientSideNotebookManager, which does minimal logic. This class is used when the JavaScript content manager doesn't use the Python notebook manager, but rather implements that logic client side, as is the case for the Google Drive based content manager. A sample command line that uses the Google Drive content manager, and the ClientSideNotebookManager, is ipython notebook --NotebookApp.webapp_settings="{'contentmanager_js_source': 'base/js/drive_contentmanager'}" --NotebookApp.notebook_manager_class="IPython.html.services.notebooks.clientsidenbmanager.ClientSideNotebookManager"

File last commit:

r11009:e16cf2f8
r18639:28c27a69
Show More
inprocess.py
40 lines | 1.3 KiB | text/x-python | PythonLexer
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 """ Defines an in-process KernelManager with signals and slots.
"""
# Local imports.
MinRK
update inprocess kernel to new layout...
r10298 from IPython.kernel.inprocess import (
InProcessShellChannel, InProcessIOPubChannel, InProcessStdInChannel,
MinRK
fix in process qt and in process examples
r10333 InProcessHBChannel, InProcessKernelClient, InProcessKernelManager,
MinRK
update inprocess kernel to new layout...
r10298 )
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 from IPython.utils.traitlets import Type
MinRK
fix in process qt and in process examples
r10333 from .kernel_mixins import (
QtShellChannelMixin, QtIOPubChannelMixin,
QtStdInChannelMixin, QtHBChannelMixin, QtKernelClientMixin,
QtKernelManagerMixin,
)
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessShellChannel(QtShellChannelMixin, InProcessShellChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessIOPubChannel(QtIOPubChannelMixin, InProcessIOPubChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessStdInChannel(QtStdInChannelMixin, InProcessStdInChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessHBChannel(QtHBChannelMixin, InProcessHBChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
MinRK
update inprocess kernel to new layout...
r10298 class QtInProcessKernelClient(QtKernelClientMixin, InProcessKernelClient):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 """ An in-process KernelManager with signals and slots.
"""
Brian Granger
Cleanup naming and organization of channels....
r9120 iopub_channel_class = Type(QtInProcessIOPubChannel)
shell_channel_class = Type(QtInProcessShellChannel)
stdin_channel_class = Type(QtInProcessStdInChannel)
hb_channel_class = Type(QtInProcessHBChannel)
MinRK
fix in process qt and in process examples
r10333
class QtInProcessKernelManager(QtKernelManagerMixin, InProcessKernelManager):
client_class = __module__ + '.QtInProcessKernelClient'