5 surprising ways I use Jupyter to improve my life | Opensource.com

5 surprising ways I use Jupyter to improve my life

Jupyter is much more than a data-analysis tool. Learn about some of the most creative ways you can use the Python-based software.

Computer laptop in space
Image by : 

Opensource.com

x

Subscribe now

Get the highlights in your inbox every week.

The Jupyter project offers interactive ways to write software with technology like JupyterLab and Jupyter Notebook. This software is commonly used for data analysis, but what you might not know (and the Jupyter community didn't expect) is how many things you can do with it.

Here are my top five unexpected and creative ways to use Jupyter.

1. Manipulate images

There are great open source tools out there for image editing and manipulation—from those that rival Photoshop to the experimental work of Glimpse. Even with all those options, sometimes I just don't want to leave the world of Python.

Luckily, Jupyter is a great option for doing light image manipulation. Taking advantage of the fact that Jupyter directly shows Pillow objects as images lets you experiment with pictures as much as you want. I even used it to make a coloring book page for my child.

2. Make an SSH jumpbox remote control

Since JupyterLab lets you upload and download files, edit files, and even run terminals, it has all the pieces necessary to make an SSH jumpbox environment.

With some SSH-forwarding magic, you can make Jupyter your remote console on the other side of a firewall.

3. Develop web applications

One of my favorite ways to use Jupyter is for an unexpected kind of software development. I gave a talk where I developed a web application in real time using a Jupyter notebook. The talk concluded with a simple form that is XSS- and CSS-safe and included some light server-side computation.

A day-to-day Jupyter user may not expect it to be a great web development environment, but it's a remarkably powerful one.

4. Pull reports from your favorite services

Data analysis in JupyterLab is a common use, but what about self-improvement analysis?

You can use Jupyter to analyze your calendar. If your favorite services allow API export, or even let you export a CSV, you can correlate those against your calendar. If you find out that you were posting on social media when your calendar said you were supposed to be in a meeting with your manager, however, Jupyter can't do much to help you!

5. Develop games

My favorite way to expand the expectations of what I can accomplish in a Jupyter Notebook is by building a game with my child. I wrote about this previously, with a step-by-step tutorial on writing a game using PursuedPyBear and Jupyter.

This iterative approach to game development is especially helpful when trying to figure out game mechanics. It's a game-changer (sorry, I had to) to be able to change the rules mid-game.

You can even use IPywidgets to modify the numeric parameters, as this video shows.

Download the eBook

JupyterLab and Jupyter Notebooks offer an incredible environment for experimenting. Download this guide that contains tutorials on the surprising ways to use Jupyter. 

How are you using it in creative ways? Share your favorites in the comments below.

Python in a coffee cup.

JupyterLab, the successor to Jupyter Notebook, feels like playing video games with the cheat codes enabled.
Document sending

Create interactive, shareable notebooks with live code, equations, visualizations, and text using Jupyter.

Topics

About the author

Moshe sitting down, head slightly to the side. His t-shirt has Guardians of the Galaxy silhoutes against a background of sound visualization bars.
Moshe Zadka - Moshe has been involved in the Linux community since 1998, helping in Linux "installation parties". He has been programming Python since 1999, and has contributed to the core Python interpreter. Moshe has been a DevOps/SRE since before those terms existed, caring deeply about software reliability, build reproducibility and other such things. He has worked in companies as small as three people and as big as tens of thousands -- usually some place around where software meets system administration...