Hiding some kernelspecs from menu

38 views
Skip to first unread message

Andreas Hilboll

unread,
May 15, 2017, 6:46:06 AM5/15/17
to Project Jupyter
Dear Jupyter experts,

when on the Notebook interface I click on "New"; I see a dropdown-list
of all installed kernelspecs. Is there any way I can hide all
kernelspecs except for a list of "favorite" kernels? I'm thinking of
just seeing the 'favorite' kernels in the dropdown list, which should
also include a "More ..." entry, which again opens a sub-dropdown
listing all installed kernels.

The motivation is that I would like to provide to our cluster users
(we're using Jupyterhub) frequent updates on default Python
environments, which would make the list of all installed kernelspecs
long. However, users should be able to still use older kernelspecs if
they really want to.

I hope I made clear what I'm thinking of ...

Sunny greetings,
Andreas.

Thomas Kluyver

unread,
May 15, 2017, 6:59:59 AM5/15/17
to Project Jupyter
Hi Andreas,

You can whitelist some of the installed kernels by configuring KernelSpecManager.whitelist , but this will completely disable any that aren't on the whitelist. I don't think there's currently any way to highlight certain kernels in the UI while still making others available. There's no reason we couldn't add that, though.

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/6ka86etn2r.fsf%40shaula.iup.uni-bremen.de.
For more options, visit https://groups.google.com/d/optout.

Andreas Hilboll

unread,
May 15, 2017, 7:51:46 AM5/15/17
to jup...@googlegroups.com
Hi Thomas,

Thomas Kluyver writes:

> Hi Andreas,
>
> You can whitelist some of the installed kernels by configuring
> KernelSpecManager.whitelist , but this will completely disable any that
> aren't on the whitelist. I don't think there's currently any way to
> highlight certain kernels in the UI while still making others available.
> There's no reason we couldn't add that, though.

Which would be the correct repository to create an issue for this?


--
Dr. Andreas Hilboll

Center for Marine Environmental Sciences (MARUM)
- AND -
Institute of Environmental Physics (IUP)

University of Bremen

NW1 / S3132
Otto-Hahn-Allee 1
D-28359 Bremen
Germany

+49(0)421 218 62133 (phone)
+49(0)421 218 98 62133 (fax)
http://www.iup.uni-bremen.de/~hilboll

Thomas Kluyver

unread,
May 15, 2017, 8:14:18 AM5/15/17
to Project Jupyter
On 15 May 2017 at 12:51, Andreas Hilboll <hil...@uni-bremen.de> wrote:
Which would be the correct repository to create an issue for this?

jupyter/notebook, since it's a UI matter.

Thomas
Reply all
Reply to author
Forward
0 new messages