Quantum Bayesian Networks

July 2, 2019

Qubiter now has an automatically generated SUMMARY of all its Jupyter notebooks

Filed under: Uncategorized — rrtucci @ 7:36 pm

I just added to Qubiter one of those features that Americans like to call “A Big Time Saver”. Automobiles, washers and driers of clothing, those are all big time savers, but this is even better… for Qubiter users.

Something about Qubiter’s jupyter_notebooks folder had been embittering my life. But, praise the Lord and Hallelujah :), today I found a solution to that something, a solution that I find very satisfying. Let me tell you all about it.

Qubiter has a folder full of Jupyter notebooks (in fact, 27 of them). Opening a notebook takes a short while, which is slightly annoying. I wanted to give Qubiter users the ability to peek inside all the notebooks at once, without having to open all of them. Qubiter’s new SUMMARY.ipynb notebook allows the user to do just that.

SUMMARY.ipynb scans the directory in which it lives to find all Jupyter notebooks (other than itself) in that directory. It then prints for every notebook it finds (1) a hyperlink to the notebook, and (2) the first cell (which is always markdown) of the notebook. This way you can read a nice, automatically generated summary of all the notebooks without having to open all of them. If you find a notebook that you want to explore further, you can simply click on its link to open it.

Here is the code that I use. I posted it on StackOverflow


And here is Qubiter’s notebook using the code:


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: