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

Wishlist: Parametrize notebook #175

Open
yarikoptic opened this issue Nov 2, 2019 · 2 comments
Open

Wishlist: Parametrize notebook #175

yarikoptic opened this issue Nov 2, 2019 · 2 comments

Comments

@yarikoptic
Copy link

I was pondering on this question for a while but found no answer, so please pardon me if there is already a way to do this. References on howto would be well appreciated.

The desire is to not only have a URL to a binder with url/path to the notebook in it, but to pass in the url server side options parameters into the notebook (eg a URL for a file that notebook should process, or parameters to the analysis pipeline) so user doesn't have to modify notebook to run it.

I think the easiest and most flexible way would be to be able to provide in url options environment variables so they become accessible within notebook to query via standard to the notebook kernel language mechanisms. This will open opportunities for many use cases where a single notebook could cater multiple scenarios (the same analysis pipeline with different parameters, visualization engine for external resources, etc)

PS just a brief description ATM since I am on a phone and couldn't hold the idea to myself any longer. I will expand on it later if needed

@manics
Copy link
Member

manics commented Nov 2, 2019

I had a similar thought over on the Disource forum: https://discourse.jupyter.org/t/pass-parameters-to-a-notebook-on-jupyterhub-binderhub/1973/

How about we continue the discussion there?

@yarikoptic
Copy link
Author

Great! Thanks for linking - I will check them all out before further follow up here.
Cheers

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