Giter Club home page Giter Club logo

Comments (6)

rgbkrk avatar rgbkrk commented on May 16, 2024

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.

lukasheinrich avatar lukasheinrich commented on May 16, 2024

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.

lukasheinrich avatar lukasheinrich commented on May 16, 2024

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.

rgbkrk avatar rgbkrk commented on May 16, 2024

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.

lukasheinrich avatar lukasheinrich commented on May 16, 2024

Yes, I think having that as part of the API would be great.

from papermill.

MSeal avatar MSeal commented on May 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.