An open API service indexing awesome lists of open source software.

https://github.com/naereen/nbbrowserpdf

LaTeX-free PDF generation from Jupyter Notebooks
https://github.com/naereen/nbbrowserpdf

Last synced: 6 months ago
JSON representation

LaTeX-free PDF generation from Jupyter Notebooks

Awesome Lists containing this project

README

          

# nbbrowserpdf
> LaTeX-free PDF generation for Jupyter Notebooks

## Installation
> TODO: pypi package
```shell
pip install https://github.com/Anaconda-Server/nbbrowserpdf/archive/master.zip
python -m nbbrowserpdf.install
```

Enable the extension for every notebook launch:
```shell
python -m nbpresent.install --enable
```

Installing with `conda` will handle the installation and enabling (in user
space):
```shell
conda install --channel nbcio nbbrowserpdf
```

## In-Browser Usage
In the Notebook application menu bar, click in **File** -> **Download As...**
-> **PDF via Headless Browser (.pdf)**.

## CLI
You can generate a PDF at the command line:
```shell
nbbrowserpdf -i Notebook.ipynb -o Notebook.pdf
```

`nbbrowserpdf` will also work with streams
```shell
cmd_that_makes_ipynb | nbbrowserpdf > output.pdf
```

You can also see the whole documentation
```shell
nbbrowserpdf --help
```

## Development
> TODO: document development processes