Inheritance diagram for IPython.gui.wx.ipshell_nonblocking:
Provides IPython remote instance.
@author: Laurent Dufrechou laurent.dufrechou _at_ gmail.com @license: BSD
All rights reserved. This program and the accompanying materials are made available under the terms of the BSD which accompanies this distribution, and is available at U{http://www.opensource.org/licenses/bsd-license.php}
Bases: object
Create an IPython instance, running the commands in a separate, non-blocking thread. This allows embedding in any GUI without blockage.
@param argv: Command line options for IPython @type argv: list @param user_ns: User namespace. @type user_ns: dictionary @param user_global_ns: User global namespace. @type user_global_ns: dictionary. @param cin: Console standard input. @type cin: IO stream @param cout: Console standard output. @type cout: IO stream @param cerr: Console standard error. @type cerr: IO stream @param exit_handler: Replacement for builtin exit() function @type exit_handler: function @param time_loop: Define the sleep time between two thread’s loop @type int
Returns an auto completed line and/or posibilities for completion.
@param line: Given line so far. @type line: string
@return: Line completed as for as possible, and possible further completions. @rtype: tuple
Tell the thread to process the ‘line’ command
Returns the IPython banner for useful info on IPython instance
@return: The banner string. @rtype: string
Returns the output of the processing that need to be paged (if any)
@return: The std output string. @rtype: string
Returns the output of the processing that need to be paged via help pager(if any)
@return: The std output string. @rtype: string
Returns the current indentation level Usefull to put the caret at the good start position if we want to do autoindentation.
@return: The indentation level. @rtype: int
Returns current prompt inside IPython instance (Can be In [...]: ot ...:)
@return: The current prompt. @rtype: string
Returns the prompt number. Each time a user execute a line in the IPython shell the prompt count is increased
@return: The prompt number @rtype: int
Returns threading status, is set to True, then each command sent to the interpreter will be executed in a separated thread allowing, for example, breaking a long running commands. Disallowing it, permits better compatibilty with instance that is embedding IPython instance.
@return: Execution method @rtype: bool
Provides one history command back.
@return: The command string. @rtype: string
Provides one history command forward.
@return: The command string. @rtype: string
set history to last command entered
Initialize an ipython0 instance
Sets threading state, if set to True, then each command sent to the interpreter will be executed in a separated thread allowing, for example, breaking a long running commands. Disallowing it, permits better compatibilty with instance that is embedding IPython instance.
@param state: Sets threading state @type bool
Add the current dictionary to the shell namespace.
@param ns_dict: A dictionary of symbol-values. @type ns_dict: dictionary