question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Embed a jupyterhub profile in nbgitpuller

See original GitHub issue

There may be times when particular kinds of content requires either a different environment, hardware, etc. Since JupyterHub has support for user profiles, would it be possible to embed profile information in an nbgitpuller link.

For example, day 1 of a semester the instructor just needs a vanilla analytics environment. They send out nbgitpuller links with profile=basic_profile in the URL.

Mid-way through the course, the instructor starts covering advanced topics in machine learning. They need students to have access to GPUs now (which they weren’t using before because of the expense). They send out nbgitpuller links with profile=nvidia in the URL.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:6
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
brian-rosecommented, Jan 28, 2020

@brian-rose could you explain why they need to switch kernels? I wonder if this is a bug in Jupyter Book 😃

No bug! The users need to switch kernels because the default kernel on our JupyterHub doesn’t have all the necessary dependencies, and I was unaware that I could set the "kernel_info" directly in the notebooks.

1reaction
choldgrafcommented, Jan 28, 2020

I wonder if this would be a good FAQ-style section either here or in the JupyterHub docs: “How can I specify the kernel that notebooks are launched with on my JupyterHub?”

Read more comments on GitHub >

github_iconTop Results From Across the Web

nbgitpuller documentation
Create an “ nbgitpuller link” which points to the content you'd like to distribute (e.g., a Jupyter Notebook in a GitHub repository). Tell...
Read more >
jupyterhub/jupyterhub - Gitter
I think all we need to do is add something the profile url parameter in ... is to automatically determine profile based on...
Read more >
Customizing User Environment
You can create configurations for multiple user environments, and let users select from them once they log in to your JupyterHub. This is...
Read more >
New Profiles - RWTHjupyter User Documentation
We use nbgitpuller so reguarily synchronize Jupyter notebooks from a Git ... A new profile can include a set of Jupyter notebooks which...
Read more >
Embedding Jupyter in web app - Google Groups
Part of that profile will be a list of notebooks they have created. Clicking on a notebook will render the html output of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found