Debug your python script with a jupyter notebook
git clone [email protected]:ebanner/extipy.git
cd extipy
pip install -e .
Embed an IPython kernel in your code and capture all the variables in scope:
import IPython
IPython.embed_kernel(local_ns={**locals(), **globals()})Then attach jupyter lab to it:
jupyter lab --KernelProvisionerFactory.default_provisioner_name=extipy-provisionerThis is largely copied from pyxll-jupyter.
extipy is the subset of the pynt tool that I still use and find useful today.