r/Jupyter • • Dec 02 '25

A different approach to automatic module reloading

21 Upvotes

I use VSCode for notebooks, and the way I like to work is to maintain common code and anything complicated in separate Python files.

The IPython autoreload extension is useful in that workflow because it reloads changes without restarting the kernel. But sometimes it surprises me — stale references between modules, notebook global variables overwritten unexpectedly, and uncertainty about whether or not a module has reloaded. Some of that is a function of autoreload's approach: hot-patch existing class and function objects and use heuristics to decide what names to rebind.

So I created a small package to solve the problem differently. Instead of hot-patching existing definitions, parse import statements to determine both which modules to automatically reload and how to update names to new values in the same way as the original imports. The package avoids stale references between modules by discovering their import dependencies, reloading dependent modules as needed, and always reloading in an order that respects dependencies.

The package is called LiveImport. The video shows an example for a notebook generating a confusion matrix. The notebook includes a cell with magic that appears to be commented out:

#_%%liveimport --clear
from hyperparam import *
from common import use_device, dataset, loader
from analyze import apply_network, compute_cm, plot_cm

The first line is a comment as far as VSCode is concerned, but it still invokes LiveImport, which both executes and registers the imports. When analyze.py is modified in the video, LiveImport reloads analyze and rebinds apply_network, compute_cm, and plot_cm just as the import statement would.

LiveImport allows cell magic to be hidden as a comment so VSCode and other IDEs analyze the import statements for type checking and hints. (Normal cell magic works too.)

Other things to notice:

  • Module analyze imports from style, which is not imported into the notebook. Because of its dependency analysis, LiveImport reloads style, then analyze when style.py is edited.

  • LiveImport reports reloads. (That can be turned off.)

I would appreciate any feedback or suggestions you might have, and I hope some of you ultimately find it useful. There is a public repo on GitHub, and you can install it from PyPI as liveimport. Also, there is documentation on readthedocs.io.


r/Jupyter • • Aug 23 '25

Netbook - A jupyter client for the terminal

19 Upvotes

Hey folks!

I’m excited to share a project I’ve been hacking on: netbook, a Jupyter notebook client that works directly in your terminal.

✨ What is it?
netbook brings the classic Jupyter notebook experience right to your terminal, built using the textual framework. Unlike related project it doesn't aim to be an IDE, so there isn't a file browser nor any menus. The aim is to have smooth and familiar experience for users of jupyter classic notebook.

➡️ Highlights:

  • Emulates Jupyter with cell execution and outputs directly in your terminal

  • Image outputs in most major terminals (Kitty, Wezterm, iTerm2, etc.)

  • Easily install and run with uv tool install netbook

  • Kernel selector for working with different languages

  • Great for server environments or coding without a browser

🔗 Quick start:
Try out without installing:

uvx --from netbook jupyter-netbook

Or install with:

uv tool install netbook
jupyter-netbook [my_notebook.ipynb]

Supported terminals and setup tips are in the repo. Contributions and feedback are very welcome!

Check it out: https://github.com/lyovushka/netbookHey folks!


r/Jupyter • • May 06 '26

Claude Code finally works fine with Jupyter

15 Upvotes

Last year, I've had bad experience of using Jupyter with Claude Code.

Recently, I tried it with the open source Jupyter MCP Server (no affiliation). Setup took a bit of fiddling, but once it was up, it worked really well.

The big difference is kernel access. Claude can now connect directly to my live IPython kernel and edit notebook cells properly (without messing the JSON).

I just let it write notebooks, run top to bottom, debug & fix errors & only ping me when everything is working.

Has anybody tried JupyterLab AI extensions (jupyter-ai, notebook-intelligence etc.) ? I wonder how those compare to my Jupyter MCP based workflow.


r/Jupyter • • Sep 28 '21

JupyterLab 3.1.13 now available as a Desktop app

Thumbnail
blog.jupyter.org
12 Upvotes

r/Jupyter • • Jan 31 '25

Transform your Jupyter Notebook into a beautiful dashboard.

11 Upvotes

I built a website that lets you upload your Jupyter notebook and quickly turn it into a customizable dashboard. No coding required—just upload and tweak the layout to display your data and visualizations.

www.dashboardtify.com

I’d love for you to try it out and let me know what you think!

Privacy note: If you upload an HTML file, nothing is sent to the backend server. If you upload a .ipynb file, it’s only converted to HTML, and no data is saved on the server.


r/Jupyter • • Apr 29 '20

We built a CI tool for jupyter notebooks

10 Upvotes

Hello folks,
It seemed like there was a gap around testing Jupyter notebooks, and while it is definitely possible to create very sophisticated pipelines with current tools, it also takes quite a bit of work to setup.

That's why we built Treebeard (Github App link), which will watch your repo and run your notebooks on commit, render them as html along with any outputs in an admin page and return a status check to Github.

It expects a requirements.txt, environment.yaml or Pipfile for a project to run. Under the hood treebeard uses repo2docker (which powers Binder) to build a container and papermill to execute notebooks, so R and Julia kernels work fine as well as python, though the default kernel is python3. It's free for open projects.

Interested to hear how people test notebooks currently and if any of you try it please let me know what you think.


r/Jupyter • • Jan 24 '20

Jupyter-flex - Easy dashboard for Jupyter Notebooks

Thumbnail
jupyter-flex.extrapolations.dev
10 Upvotes

r/Jupyter • • May 13 '21

Debugger support is coming to IPython (ipykernel)

Thumbnail
blog.jupyter.org
9 Upvotes

r/Jupyter • • Nov 12 '20

/r/jupyter hit 1k subscribers yesterday

Thumbnail
frontpagemetrics.com
9 Upvotes

r/Jupyter • • Aug 04 '22

Extended Jupyter notebook & Jupyter Lab docker image

8 Upvotes

This is a Jupyter docker image with a lot of extensions already installed, and extra applications added, such as browser-based VS-Code for better use of jupytext or refactoring notebooks into code, notebook scheduler with nice UI, tools to explore data files and pandas data frames, transform notebooks into interactive web application.

You can explore and analyze data, build reports, presentations, and documentation. Convert notebooks to various formats. Serve notebooks for reporting. Create data pipelines from notebooks. Schedule executions having UI and monitoring.

It is a single docker image

https://github.com/bluxmit/alnoda-workspaces/tree/main/workspaces/notebook-workspace

I made tutorials and docs about what's included and how to get started

https://docs.alnoda.org/notebook-workspace/


r/Jupyter • • Oct 08 '20

JupyterCon 2020 is kicking off this week - tutorials summary

8 Upvotes

DISCLAIMER: I am not affiliated with JupyterCon but I am volunteering for PyData Global this year, and I'm keen to understand if there are use cases for integrating Reddit with the physical/online meetup and conference communities.

Specifically, I'm interested to know if people are interested in using upvoting to highlight the best talks/tutorials as I believe this adds great value and answers the question, "If I'm going to watch one thing, what should I watch?"

I understand that these events are behind a paywall, but all JupyterCon videos will be released on YouTube at least 2 weeks after the event. I'd love to hear any feedback or ideas as to how conferences and meetups can be using Reddit better!


🌐 Website: https://jupytercon.com/

📅 Dates: 5th-9th October (tutorials) + 12th-16th October (talks) + 17th October (springs)

🎟️ Tickets: Get tickets here

  • Tutorials (pick'n'mix up to 10 tutorials, 4.5hrs, you get certificates 📃)

    • Individual/Academic = $250

    • Corporate = $350

    • Student = $100

  • Main Conference (presentations, live keynotes, live speaker panels with audience Q&A, various fringe events)

    • Individual/Academic = $150

    • Corporate = $200

    • Student = $50

  • Oct 17th Sprints = free

🎁 Tutorials:

Monday October 5th

Tuesday October 6th

Wednesday October 7th

Thursday October 8th

Friday October 9th


r/Jupyter • • Aug 11 '20

Elyra reaches 1.0.0 and provides enhanced pipeline editor and new code-snippets to JupyterLab

8 Upvotes

Building on a Jupyter Notebooks foundation, the de facto tool for data scientists, machine learning engineers and AI developers, Elyra is an open-source project that provides a set of AI-centric extensions to JupyterLab aiming to help users through the model development life cycle complexities, making JupyterLab even better for AI practitioners.

Read more at https://blog.jupyter.org/elyra-reaches-1-0-0-41039dc06405


r/Jupyter • • May 19 '26

Your average notebook under the hood

7 Upvotes

This is what your average notebook looks like under the hood in terms of variable dependencies between cells! This is from me doing the usual notebook workflow, copy paste code here and there, reuse global variables etc etc

Really highlights the reproducibility and hidden state issues we run into again and again and why people hate notebooks lol

Thought this was really cool and insightful so I thought I'd share :)

(ps what you're looking at is my homemade jupyter IDE, wont promote unless someone wants to know more :) )

EDIT: Red edges in the graph imply a circular reference (a -> b -> c -> a)


r/Jupyter • • Mar 09 '26

How do you work with Jupyter in the workplace?

7 Upvotes

Hi! I recently started using Jupyter at work to analyze data. I think it's a fantastic tool, but I'm having trouble managing the Git repository with my colleagues because it detects changes in the execution order of cells and similar things that don't add any value. How do you handle all of this in the workplace? Also, I often find myself having to present and explain the results, and it's not helpful to see the code; I just want to see the cell outputs. I need advice on how you manage Jupyter.


r/Jupyter • • Feb 05 '26

Interactive equation set solver

7 Upvotes

Hey y'all 🙋‍♂️

I've been experimenting with an interactive equation set solver for sympy.

A previous version was implemented in tkinter.

This version is for JupyterLite.

The notebook I use in the video is here:

https://github.com/dharmatech/github-pages-test/blob/main/README.md


r/Jupyter • • Sep 02 '25

Any solutions for jupyter server as a service?

7 Upvotes

My preference is to run jupyter notebooks (& generally servers) locally. When I need resources that exceed my laptop I've tried the usual suspects of browser notebook tools, but I really prefer to keep the notebook in my local IDE where I have everything setup as a like it.

Using VS Code, it's possible to connect to a remote server. I could set up my own jupyter server using a cloud computing provider EC2, but I'd honestly prefer to pay a little more not to manage it myself. Are there any solutions that offer cloud servers that I can connect to from my local IDE? Almost everything I've seen online uses a browser-based notebook.

I'm honestly surprised I've seen so little of this. Everyone seems so content with a browser-based solution. Do other people not chafe against working in the browser?


r/Jupyter • • Jul 30 '25

Built a browser-based notebook environment with DuckDB integration and Hugging Face transformers

7 Upvotes

r/Jupyter • • Jun 22 '23

New Notebook 7 release is coming, help needed!

7 Upvotes

You can help with the upcoming Notebook 7 release by stopping by the Jupyter forum announcement thread and dropping your feedback and bug reports for the developers (more info there). Thanks!


r/Jupyter • • May 29 '22

Noteable is like Google Drive meets Jupyter - tried it at PyCon loved it!

7 Upvotes

I am so impressed by the value add tools have emerged from Jupyter. Looks like a lot of folks have taken then open source and added their own set of features to make notebooks truly portable + collaborative + and almost like a BI tool. I am sharing my experience with one such tool called Noteable.

I tried Noteable at PyCon in Salt Lake City and I was blown away. I met the team and talked about their architecture. Their team has some major Jupyter contributors (eg. Carol)


TL;DR: My team has been using Noteable as a Jupyter alternative for a month now and absolutely loving it. Even my highly skilled PhD Data Scientists feel like they are saving so much time and are able to focus on the right things. They are in beta so you have to request access. YMMV as my team has a private beta with fully loaded enterprise features. But give it a try...this signup link still works https://noteable.io/pycon22/


What I love about it:

  • Cloud Based: It has a fully cloud based experience. All your project files (data, config, yaml etc) are all organized neatly under projects and drives (like Google Drive)

  • ❤️ the Markdown experience: I love their side by side markdown + preview experience. Looks like I can add some basic HTML as well for formatting.

  • 🤯 by the Interactive Auto Visualization: No more writing 10 lines of cumbersome code to create visualizations. They have a specific cell time called "DEX" (stands for Data Exploration.. I think) which is essentially like a full blown Business Intelligence charting tool. It has some serious industry specific charts that I have never come across in other tools.

  • 🔥Commenting & Annotation🔥: This is the best part in my opinion. I am able to comment on charts, data points, text within cells or the whole cell. These annotations persists even after you shut down the kernel. I have been using this within my team to review my team's work, perform code reviews, discuss model improvements etc. It is a game changer for my team as it saves us about 10 hours of zoom calls per week.

  • 🔥Custom Kernel size based on load🔥: We use this often as we train ML models. Noteable easily lets you choose from 5 kernel sizes. These are some serious kernel size. I love how I dont have to go into AWS to manage kernels. Once done, they automatically shut down after timeout OR you can manually shut them down. You would think that our AWS bill would go up if I let my team pick the kernels..but it has actually gone down. My best guess is that with large kernels loads are finished quicker and folks then shut down the machines Vs with smaller kernels one would have to wait. I am not 100% sure if this is available for public yet - we requested access to their beta as a startup and we have this feature.

  • Notebook as a Pipeline (NaaP?): Well, it doesn't yet have the ability to schedule notebooks to run at specific times or run by external triggers. But we have been using it internally to manually update our feature stores. In general, I love the ability to describe the features, its improvements, comment on it, tag someone to improve it..etc.. all while having the ability to look at the code also. It just adds a huge level of clarity to our pipelines. Saves me and other teammates so much time in explaining things again and again.


What I don't quite love about it:

  • GitHub Integration: There is no GitHub integration to save your notebooks. I have requested it and they said that this is their number 1 requested feature and they are actively working on it.

  • Scheduling: It doesn't have the ability to run notebooks on a schedule. I found a work around using my cookie id + session id + some python automation. I requested this feature and they responded saying that they have this planned for this year.

  • AutoML: Specifically for ML purposes, I would love to see interactive model building, model performance evaluation etc. But, this is not an ML tool so maybe I am asking too much. Its great in other areas and that is already pretty good.


They are currently in private beta but you can signup using the PyCon 2022 link (it is still working) https://noteable.io/pycon22/


r/Jupyter • • Sep 05 '21

JupyterLab is now translated into French and Chinese - you can help to translate it into your native language

Thumbnail
github.com
7 Upvotes

r/Jupyter • • Apr 16 '21

Jupyter-flex - Build dashboards using Jupyter Notebooks

Thumbnail
danielfrg.com
7 Upvotes

r/Jupyter • • Mar 25 '21

Jupyter notebook and SQL

7 Upvotes

Hello, I'm a data analysis that works with Medicare and Medicaid data! Most of my time is dealing with why is the data saying one thing and the client is saying another! Or why do we have 1 billion dollars in payments for 10 members for one year! So there's not much plug that in and see what the graphics say or something on that line! But do have to say we do make lots of charts, and also writing notes and comments in the scripts so that people can understand why we did what we did. So would Jupyter be a good tool for me and my team?!


r/Jupyter • • Feb 18 '21

JupyterLab Binder builds are now 50% faster thanks to JupyterLab 3.0 new extensions system

Thumbnail
twitter.com
7 Upvotes

r/Jupyter • • Oct 23 '20

JupyterLab instead of the Wolfram Notebook?

7 Upvotes

Hi, I have a question about how to achieve a certain Wolfram functionality in the JupyterLab.

Basically, in the wolfram notebook, you can create a web form and tie it to certain records in the notebook. This webform is then exported as a separate page (either in a different URL location or on a different port) and it can be used e.g. as a search engine in the database, simple polling system. etc.

Is there any way how to achieve this behavior in the JupyterLab?

Example of the web form: https://reference.wolfram.com/language/howto/CreateInstantWebForms.html