jupyter / jupyter/nbformat

Capture more of the kernel spec in the notebook document

Open
#49 29 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
313
Forks
176
PR merge metrics
No merged PRs in 30d

Description

The kernelspec name and display_name are currently the only pieces of information captured in the notebook document about the kernel and environment in use when the notebook was last saved. Has capturing more of the information available to the kernel spec manager ever been considered?

I ask because info such as the command used to launch the kernel and environment variables can be useful in studying what configuration was used to execute a notebook document. For instance, knowing the binary executed by spec name "my_special_kernel" is more informative than the name alone.

I do see that blindly copying everything from kernel.json files or the equivalent into a notebook is a non-starter: there might be secrets or other bits of information users don't want captured and leaking out with their shared notebooks. That said, capturing a subset of the information might be possible.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.