Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

## pubpub

A package to turn Jupyter ipynb files into pdf files

```bash
pubpub --help
```

```bash
pubpub run \
-f "./book_drafts/Chapter 1.ipynb" \
-f "./book_drafts/Chapter 2.ipynb" \
-f "./book_drafts/Chapter 3.ipynb" \
-f "./book_drafts/Chapter 4.ipynb" \
-o ./print.pdf \
-v udeeply \
--template ./fullstack.tplx
```

Alternatively, all these options can be specified in a `book.md` file:

For instance:

```markdown
---
title: Zero to Deep Learning
template: gen_template.tplx
virtualenv: ztdlbook
asset_files:
- ./assets:../assets
authors:
- Francesco Mosconi
- Ari Lerner
---

./course/1_Getting_Started.ipynb
./course/2_Data_Manipulation.ipynb
```

We can then run this with the following command:

```bash
pubpub latex -f ./test/book.md -o /tmp/complete.pdf
```

## How to run

Install the required dependencies:

```bash
# ubuntu
sudo apt-get update -yq && sudo apt-get install -yq texlive-latex-extra texlive-latex-base
```

## Install pubpub

```bash
pip install --upgrade pubpub
```



Metadata

Release files for pubpub 0.0.22.dev1

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

Built distribution (wheel)

Table of built distributions (wheels) for pubpub 0.0.22.dev1
File Interpreter ABI Platform
pubpub-0.0.22.dev1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / pubpub-0.0.22.dev1-py2.py3-none-any.whl

Download URL pubpub-0.0.22.dev1-py2.py3-none-any.whl
Size 17.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
14fccd955165e02461ddd821657ec05d896a2a6f1c4d9e864bb9a3f054d2365a
BLAKE2b-256 checksum
How to use checksums
a64fbcf7e72e1afc6e72d35f13bb5f4f880d7ec206cb1ebaac86de9b2d74f49d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.22.dev1 This release

1 release file

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