https://kedro.org/ logo
#questions
Title
# questions
f

Francis Duval

01/18/2024, 9:48 PM
I just learned that the command
kedro jupyter notebook
can be great to develop the code in your nodes, because you can have access to the catalog, among others. Is there a way to open a Jupyter Notebook directly in your IDE? I have PyCharm Pro.
jupyter 3
j

Juan Luis

01/18/2024, 11:26 PM
yes!
%load_ext kedro.ipython
f

Francis Duval

01/18/2024, 11:33 PM
Thanks!
n

Nok Lam Chan

01/19/2024, 12:38 AM
Once you run
kedro jupyter notebook
(or
kedro jupyter setup
), basically any of the
kedro jupyter
command. It will register a kernel. When you open a notebook in IDE, you can select the kernel and it will automatically run the extension. Otherwise like @Juan Luis suggested, you can always add that addition line of code to load it up!
👍 3
d

datajoely

01/19/2024, 11:04 AM
@Francis Duval is there anything we could have done on your journey to help you discover this quicker?
f

Francis Duval

01/19/2024, 1:48 PM
Thanks! I'll try that. @datajoely, yes, would be nice to have a section like "Run Kedro Jupyter in an IDE" on this doc page: https://docs.kedro.org/en/stable/notebooks_and_ipython/kedro_and_notebooks.html. Maybe a screenshot of a ipynb file opened in an IDE like PyCharm would help to find the doc faster.
👍🏼 1
👍 2
g

Galen Seilis

01/19/2024, 3:45 PM
If you have the VSCode plugin for Jupyter notebooks, then you can also pull your Kedro stuff into there. I am curious if there is a good Vim plugin out there, but have not had the time to look into that yet.
10 Views