New post: The Technical Guide to Jupyter Setup (Part 2 of my series).

If you're still doing pip install jupyter and committing JSON blobs to Git, there's a better way.

I'm diving into:
✅ Using #uv for fast envs.
#Jupytext for pairing notebooks with .py files.
✅ Professional project hierarchies.
#VSCode integration for #Copilot users.

Treat your research like production code.

Read more: https://g.omid.dev/FpT0kTO

#Python #Jupyter #OpenSource #DevOps #Programming #TechTips

Jupyter, ChatGPT, Copilot (Part 2): The Technical Guide to Jupyter Setup

This is Part 2 of a three-part series. In Part 1: The Strategic Value of Thinking in Notebooks, we discussed why and when to use Jupyter. Here, we dive into the technical implementation. Part 3: Real-World Code Examples covers practical use cases. The Modern Jupyter Stack For a software engineer, the “standard” way of installing Jupyter (global pip install) is often the wrong way. It leads to dependency hell and “it works on my machine” syndrome.

@adamsteer I feel like #JupyText solves most of the issues people complain about - your notebook is now a .py file you can run as an executable script or open/edit easily in a different text editor should you or someone else wish to.

So I was having so much trouble x2go-ing with vscode for notebooks. Moved the workflow to emacs with jupytext and voilà ! I can open as many instances as I want, my crappy ssh bandwidth is ok, and of course, I can actually code properly. Win!

#x2go #ssh #emacs #jupytext

Two tools called out for automating the process of extracting reusable code from #Jupyter Notebooks:

#nbconvert: https://nbconvert.readthedocs.io/en/latest/
#jupytext: https://jupytext.readthedocs.io/en/latest/

Jupytext has a feature that allows for notebooks and scripts to keep in sync. And both of them might work well for simpler notebooks, definitely try them out to save time.

nbconvert: Convert Notebooks to other formats — nbconvert 7.16.6 documentation

I'm a bit frustrated that the markdown generated by #jupytext does not contain the images resulting from the cell executions... I can imagine it would be hard or impractical to make it work like that, but I'm not sure how to build a workflow out of it.
Have you considered #Jupytext https://jupytext.readthedocs.io/en/latest?
it allows to create and transform markdown documents from notebooks in #Jupyter, these markdown files can easily be used in version control, and you even can edit with your favourite editor (in my case is Emacs, but you can use any other like vim). Also, it can be automatically sync with the notebooks, so in case your colleagues prefer use notebooks, the can edit them directly, and the markdown is always updated.
Jupytext — Jupytext documentation

JupyterLab Desktop goes Thonny

Doch jetzt geht JupyterLab Desktop, die Variante der Jupyter-IDE, die JupyterLab aus den Klauen der Webbrowser befreien will, mit der aktuellen Version 4.1 noch einen Schritt weiter: Sie erlaubt die Erstellung, Verwaltung und den Aufruf virtueller Umgebungen aus der Applikation heraus, ohne sich in die (Un-) Tiefen der Kommandozeile begeben zu müssen. https://kantel.github.io/posts/2024022002_jupyterlabdesktop_thonny/ #Jupyter #Python #JupyterLabDesktop #Jupytext #MySTMarkdown

Der Schockwellenreiter - JupyterLab Desktop goes Thonny

#Jupytext is now fully compatible with #JupyterLab 4 and Jupyter Notebook 7. And the Jupytext menu is back! Check out the latest Jupytext news at https://blog.jupyter.org/the-jupytext-menu-is-back-3e6212e8c090, and see how text #JupyterNotebooks can enhance your development/research workflow!
The Jupytext Menu is back! - Jupyter Blog

A few weeks back, jupytext==1.16.0 went out. That release included multiple amazing contributions by Mahendra Paipuri, this post will go over the new features, and thank Mahendra for his great work…

Jupyter Blog
#Jupyter+#Jupytext. I just discovered Jupytext and it's completely changed my life. Suddenly my project which was to be code, documentation, and discourse trying to explain what it was all about has become just notebook chapters that are meant to be read, run, and imported as libraries. That's just terrific. Now my sub-modules are chapters, and my whole project without me realizing it has turned into a "book" in progress - which is actually the best way to present it all.

Using #MarkdownSQLPro Tools 🛠️ with new #SQLBookmarks 🔖, #SQLite & our #DuckDBPro #SQLTools in #VSCode IDE on @ploomber's #JupySQL #JupyText / #MyST #JupyterBook 📓 markdown docs 😎

#SQL #DuckDB #Markdown #ProDataTools 🧙‍♂️ ...