"A package to turn jupyter notebooks into pdfs"
Project description
## 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
```
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
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Built Distribution
Close
Hashes for pubpub-0.0.29.dev1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3785e68925d08c2598e9af9bc5f8bf4bbe5ff52b6c0e7cedf560a4c17cf6fb6 |
|
MD5 | 756cad7383a56e42a0c514cf00a981d1 |
|
BLAKE2-256 | 784483371c538b9b62e89d5cdcf63f203a946e7b7b767a572fa0b6add733cb70 |