Convert notebooks to PDF using Reportlab
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file nbconvert_reportlab-0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: nbconvert_reportlab-0.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85eab67e8be87578e146f083322f99d9aa073bfba8cbbc20b95c796eec1c9568 |
|
MD5 | a780e8f0f47978c8cfd70232a45ee404 |
|
BLAKE2b-256 | 478a222694efaa360c86ec2bba069c0502f21d29a56debcd906b6a1f12dbf073 |