Giter Club home page Giter Club logo

Comments (4)

jbednar avatar jbednar commented on June 14, 2024

I'm not sure what you mean. If it's something to be run with panel serve, the notebook outputs will be ignored; it essentially just runs the .ipynb as .py, where outputs are irrelevant. Or are you asking about a different scenario?

from examples.

jsignell avatar jsignell commented on June 14, 2024

I am asking about deploying notebooks as notebooks not as apps. This is for the case where the example isn't panel-related. For example see https://attractors-python36.aip.anaconda.com/

from examples.

jbednar avatar jbednar commented on June 14, 2024

Ah, I see. In most cases the examples don't need to deploy at all; they can simply be static web pages as part of a pyviz-topics website. That attractors example is a special case of mixing interactive code with lots of static text and images, which is probably a bad idea -- instead we should probably pull out the interactive bits as a separate app in the same project directory, to make it clear what's static and what's not.

In any case yes, in the (presumably rare) case when we want to deploy a notebook as a notebook, then I agree it probably needs output included before the user sees it.

from examples.

jsignell avatar jsignell commented on June 14, 2024

Ok so the consensus is that we should not check in or upload evaluated notebooks. Most of the time we won't be deploying notebooks anyways, but when we do, it would be ideal if we could start the notebook kernel and run the notebook when the user enters the notebook. This would be implemented as a new argument in anaconda-project. anaconda/anaconda-project#198

from examples.

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.