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
```



Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pubpub-0.0.19.dev2-py2.py3-none-any.whl (20.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pubpub-0.0.19.dev2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pubpub-0.0.19.dev2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c5cf237797c0b2e00e165533e9480e86d37a453fad8224d6b64a4731e452f31a
MD5 335568557f563b9a9b382a8c755c979b
BLAKE2b-256 95dedf4f1a6c75280c2144ab8fefdda311549fe0f25d4c622e745200da1a79b8

See more details on using hashes here.

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