Replies: 3 comments 8 replies
-
Notebooks can be included without using jupyter as a dependency. If someone is installing a package, they still need to run a kernel to start a notebook, and if notebooks are as universal as you describe, I think it's a reasonable expectation that they know how to start a kernel without it being installed automatically. An alternate is to include a link to a colab notebook, or instructions to open the code in colab. |
Beta Was this translation helpful? Give feedback.
-
I do want to hear your justification why showing examples is insufficient. Is there a wider expectation that people won't know how to start up code on their own? Or is the standard for people to always install from source and do their work within the source package instead of adding to a larger package? |
Beta Was this translation helpful? Give feedback.
-
I think I have a solution to this, after having to work a little in colab for running tutorials. When making a documentation page, it is simple enough to add a 'open in colab' button at the top of an embedded HTML page. This would look having a documentation rst page that looks like:
Which produces a page that looks like this: |
Beta Was this translation helpful? Give feedback.
-
(Astro)physicists are accustomed to having notebooks that can be run right out of the gate when they pick up a new project or code base. Also, the short time frames of internships and other activities make it important that users can figure out how to use code quickly; often, having a jupyter notebook that runs without issues can serve these purposes.
However, it appears that jupyter is a heavyweight dependency.
is there a way to allow for this dependency (in our fastsim repo's, for example) despite its heaviness?
is there another we can use that will allow people to run something immediately and get the visualizations?
I think the HTML versions of the notebooks may not suffice.
Beta Was this translation helpful? Give feedback.
All reactions