Using one of the jupyter<->sphinx tools is really nice for this. I've been moving the pydy examples to work with jupyter-sphinx and you get these results: https://pydy.readthedocs.io/en/latest/examples/carvallo-whipple.html (people can look at the rst source, download a notebook, or a py file and the notebook renders with the powers of jupyter).
Ideally we add some tooling to sympy's docs so that notebooks can be included. Jason moorepants.info +01 530-601-9791 On Thu, Apr 8, 2021 at 9:10 AM S.Y. Lee <[email protected]> wrote: > I don't think that we can utilize sympy-notebooks repository properly > unless we figure out how to test out the notebook outputs, integrate with > sympy releases, matching version compatibility, and link with > documentations. > Setting up this workflow is important, and once this workflow is set, I > think that we should have a place to allow many people to collaborate > tutorials. > On Wednesday, April 7, 2021 at 6:02:03 AM UTC+9 [email protected] wrote: > >> > If anyone wants to take on the work of improving the sympy-notebooks >> repo or adding notebooks to it, please do so. >> >> I started this with the notebook that I mentioned before. I also created >> a CSS >> style file. >> >> You can check the static version here: >> https://nbviewer.jupyter.org/github/nicoguaro/sympy-notebooks/blob/master/beginner/sympy_in_10_minutes.ipynb >> >> And the Binder version here: >> https://mybinder.org/v2/gh/nicoguaro/sympy-notebooks/HEAD?filepath=beginner%2Fsympy_in_10_minutes.ipynb >> >> Right now the updated version is in my fork, but I could make a PR and >> start adding the other >> notebooks mentioned in the thread. >> >> Nicolás >> >> On Thursday, July 2, 2020 at 2:55:52 PM UTC-5 [email protected] wrote: >> >>> There's also https://github.com/sympy/quantum_notebooks. Those should >>> perhaps be moved to the sympy-notebooks repo so that we have >>> everything in one place. >>> >>> We might also consider moving the example notebooks in the sympy repo >>> over to sympy-notebooks. That would let us include the outputs as I >>> described, and to have them in a more standard place. We can also set >>> up CI on that repo so that the outputs are tested. I had thought that >>> the example notebooks were included with the release tarball, but >>> apparently they are not, so there is not a big issue with moving them, >>> I think. >>> >>> If anyone wants to take on the work of improving the sympy-notebooks >>> repo or adding notebooks to it, please do so. >>> >>> Aaron Meurer >>> >>> On Thu, Jul 2, 2020 at 1:14 PM Aaron Meurer <[email protected]> wrote: >>> > >>> > We also have https://github.com/sympy/sympy-notebooks, which has >>> never >>> > really been used, but it would be nice to set it up as an example repo >>> > with notebooks, a binder link, and so on. Having it in a separate repo >>> > also means we can have notebooks that have the outputs included >>> > without having to worry about taking up a bunch of space in the main >>> > repo. >>> > >>> > Aaron Meurer >>> > >>> > On Wed, Jul 1, 2020 at 3:23 AM Oscar Benjamin >>> > <[email protected]> wrote: >>> > > >>> > > Hi Nicolás, >>> > > >>> > > This looks nice. Maybe it should go in the example notebooks: >>> > > https://github.com/sympy/sympy/tree/master/examples/notebooks >>> > > >>> > > I don't know if those are hosted on the website rather than just >>> github. >>> > > >>> > > Oscar >>> > > >>> > > On Tue, 30 Jun 2020 at 22:11, Nicolas Guarin <[email protected]> >>> wrote: >>> > > > >>> > > > I adapted Maxima's tutorial "Maxima in 10 minutes" to SymPy for >>> one of my courses. I would like to know if you consider useful to share it >>> somewhere. This is an nbviewer link: >>> > > > >>> > > > >>> https://nbviewer.jupyter.org/github/nicoguaro/AdvancedMath/blob/master/notebooks/sympy/sympy_in_10_minutes.ipynb >>> > > > >>> > > > Best, >>> > > > Nicolás >>> > > > >>> > > > -- >>> > > > You received this message because you are subscribed to the Google >>> Groups "sympy" group. >>> > > > To unsubscribe from this group and stop receiving emails from it, >>> send an email to [email protected]. >>> > > > To view this discussion on the web visit >>> https://groups.google.com/d/msgid/sympy/6a311d80-b7f6-4f70-a601-091e7b3a3aa5o%40googlegroups.com. >>> >>> > > >>> > > -- >>> > > You received this message because you are subscribed to the Google >>> Groups "sympy" group. >>> > > To unsubscribe from this group and stop receiving emails from it, >>> send an email to [email protected]. >>> > > To view this discussion on the web visit >>> https://groups.google.com/d/msgid/sympy/CAHVvXxT808Gp0yWFrmZwPgneETJC%2BSo57aAi1x2cc4SpEiR6-Q%40mail.gmail.com. >>> >>> >> -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/514d6e1d-e270-4dff-979b-b1e6effc4296n%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/514d6e1d-e270-4dff-979b-b1e6effc4296n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAP7f1AiwMn5hvvkQi4-imybk_PzGFXB%3DXuyHgxwPTLMnQBzd3w%40mail.gmail.com.
