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
- Host: GitHub
- URL: https://github.com/naereen/nbbrowserpdf
- Owner: Naereen
- License: bsd-3-clause
- Created: 2016-09-06T19:17:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-06T19:56:31.000Z (about 9 years ago)
- Last Synced: 2025-02-05T13:33:54.131Z (8 months ago)
- Language: Python
- Size: 1000 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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