yatsm.cli.console module¶
Functions for interpreter access in YATSM CLI
Function open_interpreter
can be called to open up a Python or IPython
interpreter with access to a variety of objects in local memory.
Todo
- Add more useful functions for exploring data
-
yatsm.cli.console.
open_interpreter
(model, message=None, variables=None, funcs=None)[source]¶ Opens an (I)Python interpreter
Parameters: - model (YATSM model) – Pass YATSM model to work with
- message (str, optional) – Additional message to pass to user in banner
- variables (dict of objects, optional) – Variables available in (I)Python session
- funcs (dict of callable, optional) – Functions available in (I)Python session