Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takluyver/nbconvert-reportlab
https://github.com/takluyver/nbconvert-reportlab
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/takluyver/nbconvert-reportlab
- Owner: takluyver
- License: mit
- Created: 2016-09-27T17:37:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-09-20T14:44:37.000Z (over 2 years ago)
- Last Synced: 2024-10-11T19:19:07.569Z (3 months ago)
- Language: Jupyter Notebook
- Size: 109 KB
- Stars: 14
- Watchers: 4
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
An experimental tool to convert Jupyter notebooks to PDFs using
`Reportlab `__.Install::
pip install nbconvert_reportlab
Use::
jupyter nbconvert --to pdf-rl MyNotebook.ipynb
Jupyter comes with support for generating PDFs by filling a template to
make a Latex file, and then running Latex to convert that to PDF. This is a
powerful approach, but Latex code is not a great intermediate format for
automatic generation, and that can lead to a variety of problems.This package uses the open source Reportlab Toolkit to convert notebooks
directly to PDFs. This avoids a lot of complexity, but at least for now there
are many things that it cannot handle and will simply skip over.See an `example output PDF
`__.