How would you build a dashboard in a Jupyter notebook?

109 views
Skip to first unread message

Christian Schafmeister

unread,
Mar 26, 2018, 4:37:29 PM3/26/18
to Project Jupyter

Greetings fellow Jovyans!

I'm setting up an application in a Jupyter notebook that will launch a large number of very long (multiple day) jobs/calculations on a cluster of GPU machines.

How would folks recommend setting up a dashboard to monitor the progress of those calculations within a Jupyter notebook?

I was thinking a dashboard made up of jupyter widgets composed of HBox, VBox, Buttons, Labels etc that would be updated every couple of seconds from a process launched by evaluating a function in a cell.

The dashboard would contain a button to shut down the process that monitors the jobs.

Has anyone done anything like this?   Are there any examples that folks could point me towards?

Note: I'm not doing this in Python.   We've implemented a new kernel in Common Lisp and we have ported Jupyter Widgets 7.1 to this kernel.  Everything is compiled to native code and we have threading implemented using pthreads.

Best,

Christian Schafmeister
Professor,
Chemistry Department,
Temple University


Thomas Kluyver

unread,
Mar 27, 2018, 6:33:16 AM3/27/18
to Project Jupyter
Hi Christian,

Have you had a look at the Jupyter dashboards project? Is this something like what you want?

https://github.com/jupyter/dashboards/

Best wishes,
Thomas

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/b16cffaf-3d31-49d0-8469-e50f9b1f3ebb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Thomas Kluyver

unread,
Mar 28, 2018, 4:47:23 AM3/28/18
to Project Jupyter
For the record, your messages were in the Google Groups spam filter (which seems to be problematic lately, because a load of messages got caught in it). After a day or so, we get an email telling us that some messages were filtered, and we can go and approve them.

On 27 March 2018 at 20:10, Christian Schafmeister <mei...@temple.edu> wrote:
I was posting replies under the wrong account (sigh)

I discovered Jupyter dashboards while watching videos on this last night - thank you.



On Tuesday, March 27, 2018 at 6:33:16 AM UTC-4, takowl wrote:
Hi Christian,

Have you had a look at the Jupyter dashboards project? Is this something like what you want?

https://github.com/jupyter/dashboards/

Best wishes,
Thomas
On 26 March 2018 at 22:37, Christian Schafmeister <drschaf...@gmail.com> wrote:

Greetings fellow Jovyans!

I'm setting up an application in a Jupyter notebook that will launch a large number of very long (multiple day) jobs/calculations on a cluster of GPU machines.

How would folks recommend setting up a dashboard to monitor the progress of those calculations within a Jupyter notebook?

I was thinking a dashboard made up of jupyter widgets composed of HBox, VBox, Buttons, Labels etc that would be updated every couple of seconds from a process launched by evaluating a function in a cell.

The dashboard would contain a button to shut down the process that monitors the jobs.

Has anyone done anything like this?   Are there any examples that folks could point me towards?

Note: I'm not doing this in Python.   We've implemented a new kernel in Common Lisp and we have ported Jupyter Widgets 7.1 to this kernel.  Everything is compiled to native code and we have threading implemented using pthreads.

Best,

Christian Schafmeister
Professor,
Chemistry Department,
Temple University


--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/b16cffaf-3d31-49d0-8469-e50f9b1f3ebb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.

Christian Schafmeister

unread,
Mar 28, 2018, 9:25:35 AM3/28/18
to jup...@googlegroups.com
Thank you very much for the clarification!
I very much appreciate it.


You received this message because you are subscribed to a topic in the Google Groups "Project Jupyter" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jupyter/OPEzPGEldoc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jupyter+u...@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.

Jason Grout

unread,
Mar 28, 2018, 1:11:54 PM3/28/18
to jup...@googlegroups.com
Christian,

Great questions! Here are a couple of thoughts:

1. The https://github.com/jupyter/dashboards project is, I think, essentially unmaintained at this point.

2. However, there are lots of people excited about doing dashboards and working on experiments for doing dashboards using ipywidgets. See https://github.com/jupyter-widgets/ipywidgets/issues/2018 for some notes on recent discussion and links to some experimental projects.

3. Another broader discussion about dashboards is happening at https://github.com/jupyterlab/jupyterlab/issues/1640

We welcome any input, and especially helping push forward in some of these experiments.

Thanks,

Jason




-- 
You received this message because you are subscribed to a topic in the Google Groups "Project Jupyter" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jupyter/OPEzPGEldoc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jupyter+u...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages