5 ms·
I am new to the Jupyter ecosystem. Can anyone point me to resources that allow me to generate PDF reports from Jupyter Notebooks? I want to build a template no
by kumarvvr 3y ago
I am new to the Jupyter ecosystem. Can anyone point me to resources that allow me to generate PDF reports from Jupyter Notebooks?
I want to build a template notebook, that has internal code to fetch data from a database, based on command line arguments and then run the notebook and then strip all the code parts and generate a beautiful PDF document.
- pgryko 3y agoMaybe via an extension? https://saturncloud.io/blog/how-to-hide-code-in-jupyter-notebook-report-mode/#step-1-install-the-hide-input-all-extension https://saturncloud.io/blog/how-to-hide-code-in-jupyter-note...
- esalman 3y agoJupyter nbconvert should do it for you- https://nbconvert.readthedocs.io/en/latest/ https://nbconvert.readthedocs.io/en/latest/
- thecfrog 3y agoYou want Quarto. https://quarto.org/ https://quarto.org/
- drBonkers 3y agoCan I use Quarto in a cell-notebook style? So far it seems like I can only get it compiled into a PDF, which feels different from Jupyter. I could be completely wrong here, just looking for insight.
- thecfrog 3y agoQuarto is used to convert from code (script or notebook) to formatted output. You can annotate a Jupiter notebook and have Quarto compile that into a PDF. If you are looking for something that changes the look of the notebook itself I don’t think that exists. But you can still include some interactivity when exporting to html.