Hacker News new | past | comments | ask | show | jobs | submit login

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.





Jupyter nbconvert should do it for you- https://nbconvert.readthedocs.io/en/latest/


You want Quarto. https://quarto.org/


Can 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.


Quarto 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: