Skip to main content

JupyterToPDF

JupyterToPDF is a Python package designed to simplify the process of converting Jupyter notebooks (.ipynb files) into PDF documents. This tool aims to provide an easy and automated way for users to generate PDFs from their Jupyter notebooks, either saving them in the same directory as the notebook or in a specified output directory.

Features

  • Convert Jupyter notebooks to PDF with a single function call.
  • Option to specify the output directory for the generated PDF.
  • Simple and easy to use, integrating seamlessly with your Jupyter workflow.

Installation

Install JupyterToPDF using pip:

pip install JupyterToPDF

Dependencies

  • pdfkit: Used for the conversion process.
  • wkhtmltopdf: A command-line tool required by pdfkit for converting HTML to PDF. Make sure it's installed on your system. It can be downloaded from wkhtmltopdf.org.

Usage

Here's how to use JupyterToPDF:

from JupyterToPDF import convert_notebook_to_pdf

Convert a notebook to PDF and save in a specific output folder

convert_notebook_to_pdf('path/to/notebook.ipynb', 'path/to/output/folder')

Save the PDF in the same folder as the notebook

convert_notebook_to_pdf('path/to/notebook.ipynb')

License

JupyterToPDF is open-source software licensed under the MIT License.

Author

Nayeem Islam

Contributing

Contributions to JupyterToPDF are welcome! If you're interested in helping to improve the project, please read the contributing guidelines to get started.

  • Ensure your code adheres to the project's standards.
  • Include tests for new functionality.
  • Document any changes or improvements.

Metadata

Release files for JupyterToPDF 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for JupyterToPDF 0.0.1
File Size Uploaded Provenance
JupyterToPDF-0.0.1.tar.gz 3.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for JupyterToPDF 0.0.1
File Interpreter ABI Platform
JupyterToPDF-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / JupyterToPDF-0.0.1.tar.gz

Download URL JupyterToPDF-0.0.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5349dc2b528a9e14ad3d925654fef42420f38c10fdebda91429c59e3304bfff2
BLAKE2b-256 checksum
How to use checksums
f4873d90177fbf442090b4651e02c0ea7c4412ff05a6fa643acfa2626465bc18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / JupyterToPDF-0.0.1-py3-none-any.whl

Download URL JupyterToPDF-0.0.1-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e48e7d46fa576178a9dd35d78d56f0286765acf322c7fe89d62b52b72083ae69
BLAKE2b-256 checksum
How to use checksums
126d81786beaece136555fe6d76b249ac6fe2ffa7c2f3d1d1b0210c8b21dbca7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for JupyterToPDF 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page