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 Distribution
Built Distribution
File details
Details for the file nbconvert_reportlab-0.2.tar.gz
.
File metadata
- Download URL: nbconvert_reportlab-0.2.tar.gz
- Upload date:
- Size: 108.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c299a16ebf0c30db78671f9b7e0e04fa5e869890d53cb49b2b4e212c15a3c93 |
|
MD5 | e5f98f300617bd4b7fa1617f0656476e |
|
BLAKE2b-256 | ecaba5acc2c5bf1f9d9548857ab98f355454ef98973bcf6f55629ca00ebd928d |
File details
Details for the file nbconvert_reportlab-0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: nbconvert_reportlab-0.2-py2.py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fdcb629d808d5621800d9dcd1190199761e02287eb3f8cb8d167989d4669180 |
|
MD5 | 87e7a03785d8e968e15635426b6ca2e9 |
|
BLAKE2b-256 | 70268e3a72dd02f6a372957830143e433271dadbbd7d09a06e56f5dbdec406c2 |