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.29.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.29.dev1
File Interpreter ABI Platform
pubpub-0.0.29.dev1-py2.py3-none-any.whl Python 3, Python 2 none any Details

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

Download URL pubpub-0.0.29.dev1-py2.py3-none-any.whl
Size 22.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c3785e68925d08c2598e9af9bc5f8bf4bbe5ff52b6c0e7cedf560a4c17cf6fb6
BLAKE2b-256 checksum
How to use checksums
784483371c538b9b62e89d5cdcf63f203a946e7b7b767a572fa0b6add733cb70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.29.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