plpipes.jupyter#
plpipes.jupyter - a Jupyter extension module for initializing and managing the PLPipes framework.
PLPipesMagics
#
Bases: Magics
A class to define Jupyter magic commands for the PLPipes framework.
Source code in src\plpipes\jupyter.py
__init__(shell)
#
Initializes the PLPipesMagics class.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shell
|
The IPython shell instance. |
required |
plpipes(line, local_ns)
#
Magic function to initialize the PLPipes framework based on the given configuration.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
line
|
str
|
The line of input provided to the magic command. |
required |
local_ns
|
dict
|
The local namespace to inject configurations and database objects. |
required |
Source code in src\plpipes\jupyter.py
load_ipython_extension(ipython)
#
Loads the PLPipes magic extension in the IPython environment.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ipython
|
The IPython instance to load the extension into. |
required |