-
Notifications
You must be signed in to change notification settings - Fork 507
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
Allowing notebook parameterisation #13
Comments
I really like the idea, and I also thought of papermill's method to implement this. |
There is also the idea of having parameterized kernelspecs. |
this would be cool but might make it confusing to pass parameters for different things (the kernel spec & variables in the notebook) in the same manner (e.g. as key-value URL parameters). |
the above gives you arbitrary access to the request and the notebook For papermill specifically, I just did #484 |
@timkpaine Thanks for your work on this. In the latest code (I am using |
cc @trungleduc |
Hi @angusfong, can you give us more details about your use case? |
Thanks. Will those PR's be merged, or should I install at those commits? (coming from an open source-world newbie :)) My use case:
|
@timkpaine would you mind updating PR #724 so that it works with the current code? |
@angusfong currently in the pre-release version of voila (0.3.0a2), we have a new feature called "Preheated kernels" which allows Voila to warn up the kernel and pre-render the notebook. This feature also allows users to define their environment variables for each notebook ( the We might consider allowing users to define notebook specified environment variables in normal kernel mode too. |
Would it be possible / desirable to enable notebook parameterisation with URL parameters? I'm currently thinking about using notebooks as external services integrating with amazon MTurk, and it would be great to be able to allow reading of URL parameters.
It could be done with something like https://github.com/takluyver/nbparameterise #maybe?
It should probably be turned off by default to prevent unexpected or malicious behaviour.
The text was updated successfully, but these errors were encountered: