Comments (6)
Thinking of this in another way, I think without papermill we could do this with a frontend that was dedicated to doing it rather than making it part of a CLI tool.
Basically, a workflow of "click template notebook, fill in params, open". Which would also mean that you could probably write a CLI tool around this service itself.
from papermill.
A frontend is useful if you want to have users determining parameters, but say I want to run a servie, where I spin up a notebook for the user, but the parameters are determined server-side. I'd like to grab a parametrized notebook, contextualize it for the user and point her to a URL where they can access the already-contextualized notebook
from papermill.
asked in another way: say I wanted to write such a service, could I use papermill to do the heavy-lifting?
https://github.com/nteract/papermill/blob/master/papermill/execute.py#L186
seems like the right method, but it looks like it's supposed to be internal.
from papermill.
I think we could make it externally facing, then you'd probably be able to build a server extension for the notebook that does this.
from papermill.
Yes, I think having that as part of the API would be great.
from papermill.
I think we'd need to add a target-kernel
option, though there's complexity with adding this. I'd like to work towards making notebook execution abstracted to executor=
options where one could register a new executor option. If we start down that road I can add back to this thread with possible options based on that.
from papermill.
Related Issues (20)
- Metadata of parameters cell not copied (`{'slideshow': {'slide_type': 'skip'}`)
- Enhance the progress bar to display customizable message HOT 1
- AttributeError: kernelspec HOT 3
- Latest release not installable from sdist HOT 1
- Do an audit of requirements files, pyproject.toml, ci config, tox HOT 5
- Stale repo action HOT 3
- Kernel not found with venvs (jupyter_client.kernelspec.NoSuchKernel) HOT 2
- Does tqdm print properly with --log-output? HOT 1
- nbformat 5.1.2 and 5.1.3 cause AttributeError: 'NoneType' object has no attribute 'cells'
- Parameter parsing fails for strings containing `=` character HOT 2
- Pandas style has no effect HOT 3
- RuntimeError: Kernel didn't respond in 60 seconds HOT 2
- Make the parameters of progress_bar specifiable by a dictionary
- pip install --no-binary gives "No such file or directory" error
- Cell that starts with %%time does not report errors HOT 2
- PapermillNotebookClient deprecation warning: unrecognized argument input_path HOT 1
- Tuple in the config dictionary changed to string when run a python notebook with papermill HOT 1
- New Release HOT 7
- Missing Notebook linked in docs
- Add the output notebook object to PapermillExecutionError
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from papermill.