pimlico.cli.pyshell module¶
-
class
PimlicoPythonShellContext
[source]¶ Bases:
future.types.newobject.newobject
A class used as a static global data structure to provide access to the loaded pipeline when running the Pimlico Python shell command.
This should never be used in any other context to pass around loaded pipelines or other global data. We don’t do that sort of thing.
-
class
PythonShellCmd
[source]¶ Bases:
pimlico.cli.subcommands.PimlicoCLISubcommand
-
command_name
= 'python'¶
-
command_help
= 'Load the pipeline config and enter a Python interpreter with access to it in the environment'¶
-