Submodule: terminal¶
-
class
flika.app.terminal.EmbeddedIPythonWidget(**kwargs)¶
-
class
flika.app.terminal.EmbeddedQtKernel(*args, **kwargs)¶ -
do_one_iteration()¶ step eventloop just once
-
execute_request(stream, ident, parent)¶ handle an execute_request
-
-
class
flika.app.terminal.EmbeddedQtKernelApp(**kwargs)¶ -
init_kernel()¶ Create the Kernel object itself
-
start()¶ Start the app mainloop.
Override in subclasses.
-
-
class
flika.app.terminal.Terminal(**kwargs)¶
-
flika.app.terminal.connected_console(console_class=<class 'qtconsole.rich_jupyter_widget.RichJupyterWidget'>, **kwargs)¶ - Create a console widget, connected to another kernel running in
- the current process
This only works on IPython v1.0 and above
Parameters: - console_class – The class of the console widget to create
- kwargs – Extra variables to put into the namespace
-
flika.app.terminal.default_kernel_app()¶ Return a configured IPKernelApp
-
flika.app.terminal.default_manager(kernel)¶ Return a configured QtKernelManager
Parameters: kernel – An IPKernelApp instance
-
flika.app.terminal.in_process_console(console_class=<class 'qtconsole.rich_jupyter_widget.RichJupyterWidget'>, **kwargs)¶ Create a console widget, connected to an in-process Kernel
This only works on IPython v 0.13 and above
Parameters: - console_class – The class of the console widget to create
- kwargs – Extra variables to put into the namespace
-
flika.app.terminal.ipython_terminal(banner='', **kwargs)¶ Return a qt widget which embed an IPython interpreter.
Extra keywords will be added to the namespace of the shellParameters: kwargs (QWidget) – Extra variables to be added to the namespace
-
flika.app.terminal.redirect_output(session, pub_socket)¶ Prevent any of the widgets from permanently hijacking stdout or stderr