Inheritance diagram for visualizer.ipython_view.IterableIPShell:Public Member Functions | |
| def | __init__ |
| def | complete (self, line) |
| def | execute (self) |
| def | generatePrompt (self, is_continuation) |
| def | historyBack (self) |
| def | historyForward (self) |
| def | shell |
| def | updateNamespace (self, ns_dict) |
Public Attributes | |
| complete_sep | |
| history_level | |
| IP | |
| iter_more | |
| prompt | |
Private Member Functions | |
| def | __update_namespace (self) |
| def | _getHistory (self) |
Definition at line 31 of file ipython_view.py.
| def visualizer.ipython_view.IterableIPShell.__init__ | ( | self, | |
argv = None, |
|||
user_ns = None, |
|||
user_global_ns = None, |
|||
cin = None, |
|||
cout = None, |
|||
cerr = None, |
|||
input_func = None |
|||
| ) |
@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 input_func: Replacement for builtin raw_input() @type input_func: function
Definition at line 33 of file ipython_view.py.
|
private |
Update self.IP namespace for autocompletion with sys.modules
Definition at line 112 of file ipython_view.py.
References list.
|
private |
Get's the command string of the current history level. @return: Historic command string. @rtype: string
Definition at line 220 of file ipython_view.py.
References visualizer.ipython_view.IterableIPShell.history_level.
Referenced by visualizer.ipython_view.IterableIPShell.historyBack(), and visualizer.ipython_view.IterableIPShell.historyForward().
Here is the caller graph for this function:| def visualizer.ipython_view.IterableIPShell.complete | ( | self, | |
| line | |||
| ) |
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
Definition at line 242 of file ipython_view.py.
Referenced by visualizer.ipython_view.IPythonView.onKeyPressExtend().
Here is the caller graph for this function:| def visualizer.ipython_view.IterableIPShell.execute | ( | self | ) |
Executes the current line provided by the shell object.
Definition at line 120 of file ipython_view.py.
References visualizer.ipython_view.IterableIPShell.history_level.
| def visualizer.ipython_view.IterableIPShell.generatePrompt | ( | self, | |
| is_continuation | |||
| ) |
Generate prompt depending on is_continuation value @param is_continuation @type is_continuation: boolean @return: The prompt string representation @rtype: string
Definition at line 171 of file ipython_view.py.
| def visualizer.ipython_view.IterableIPShell.historyBack | ( | self | ) |
Provides one history command back. @return: The command string. @rtype: string
Definition at line 197 of file ipython_view.py.
References visualizer.ipython_view.IterableIPShell._getHistory(), and visualizer.ipython_view.IterableIPShell.history_level.
Referenced by visualizer.ipython_view.IPythonView.onKeyPressExtend().
Here is the call graph for this function:
Here is the caller graph for this function:| def visualizer.ipython_view.IterableIPShell.historyForward | ( | self | ) |
Provides one history command forward. @return: The command string. @rtype: string
Definition at line 209 of file ipython_view.py.
References visualizer.ipython_view.IterableIPShell._getHistory(), and visualizer.ipython_view.IterableIPShell.history_level.
Referenced by visualizer.ipython_view.IPythonView.onKeyPressExtend().
Here is the call graph for this function:
Here is the caller graph for this function:| def visualizer.ipython_view.IterableIPShell.shell | ( | self, | |
| cmd, | |||
verbose = 0, |
|||
debug = 0, |
|||
header = '' |
|||
| ) |
Replacement method to allow shell commands without them blocking. @param cmd: Shell command to execute. @type cmd: string @param verbose: Verbosity @type verbose: integer @param debug: Debug level @type debug: integer @param header: Header to be printed before output @type header: string
Definition at line 286 of file ipython_view.py.
| def visualizer.ipython_view.IterableIPShell.updateNamespace | ( | self, | |
| ns_dict | |||
| ) |
Add the current dictionary to the shell namespace. @param ns_dict: A dictionary of symbol-values. @type ns_dict: dictionary
Definition at line 233 of file ipython_view.py.
| visualizer.ipython_view.IterableIPShell.complete_sep |
Definition at line 104 of file ipython_view.py.
| visualizer.ipython_view.IterableIPShell.history_level |
| visualizer.ipython_view.IterableIPShell.IP |
Definition at line 86 of file ipython_view.py.
| visualizer.ipython_view.IterableIPShell.iter_more |
Definition at line 102 of file ipython_view.py.
| visualizer.ipython_view.IterableIPShell.prompt |
Definition at line 130 of file ipython_view.py.
Referenced by visualizer.ipython_view.ConsoleView._showReturned(), and visualizer.ipython_view.IPythonView.onKeyPressExtend().