Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow users to set display name when installing kernels #200

Open
mdeff opened this issue Apr 4, 2020 · 2 comments
Open

Allow users to set display name when installing kernels #200

mdeff opened this issue Apr 4, 2020 · 2 comments

Comments

@mdeff
Copy link
Contributor

mdeff commented Apr 4, 2020

Users should be able to set the display_name property in the installed kernel.json at install time. This is handy when one wants to access multiple installations of a kernel (e.g., with conda-managed environments) from a GUI such as JupyterLab. I'd suggest following ipykernel and adding a --display-name parameter. Usage would be:

python -m octave_kernel install --name proj-octave --display-name "Octave in Proj"

At minimum, setting the display_name as the name would allow GUI users to distinguish between multiple installations of the same kernel. That's ipykernel default if no --display-name is passed.

@dsblank
Copy link
Member

dsblank commented Apr 4, 2020

Sounds reasonable. Would you be able to make a pull request for this?

@mdeff
Copy link
Contributor Author

mdeff commented Apr 6, 2020

As I'm not familiar with the code I'm afraid it'll demand me too much effort compared to the benefit. Setting the display_name as the name should however be trivial for someone familiar with the code, and it'll fix the usability issue. Adding a --display-name parameter is only of cosmetic use and could be left out for somebody sufficiently interested by such feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants