Skip to main content

Jupyter extension to export notebooks as PDFs

Project description

Jupyter Notebooks as PDF

This Jupyter notebook extension allows you to save your notebook as a PDF.

Three new features compared to the official "save as PDF" extension:

  1. produce a PDF with the smallest number of page breaks,
  2. the original notebook is attached to the PDF; and
  3. this extension does not require LaTex.

Install

To use this bundler you need to install it:

python -m pip install notebook-as-pdf
pyppeteer-install

The second command will download and setup Chromium. It is used to perform the HTML to PDF conversion.

Use it

Create a notebook and the click "File -> Download As". Click the new menu entry called "PDF via HTML". Your notebook will be converted to a PDF on the fly and then downloaded.

You will have to use Acrobat Reader to see the attachment to your PDF. Preview on OSX can not display PDF attachments.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

notebook-as-pdf-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

notebook_as_pdf-0.0.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file notebook-as-pdf-0.0.1.tar.gz.

File metadata

  • Download URL: notebook-as-pdf-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for notebook-as-pdf-0.0.1.tar.gz
Algorithm Hash digest
SHA256 cbbb159fb54558f7d003f49a466a3ead45aaf6589c82a308fbb4d79ee05ffefc
MD5 93177e4a555d8422f574fda355570a96
BLAKE2b-256 1d056a5a50bc70f11e2bdc14635f5fa09bd65f2c9047cf769732da852ac424a8

See more details on using hashes here.

File details

Details for the file notebook_as_pdf-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: notebook_as_pdf-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for notebook_as_pdf-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 70e6a54787d70598d0376672b209a94a2ca578011ee22751c8b3fd774426b6ad
MD5 d7303886eac22885655cf79cae14d07c
BLAKE2b-256 40aa559a8985cf953c5e4100c97c0d4e9e111b3253f7fdb7f33d0263a75bd7a1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page