Skip to content

data-grasshopper/nbbrowserpdf

 
 

Repository files navigation

nbbrowserpdf

LaTeX-free PDF generation for Jupyter Notebooks

Installation

TODO: pypi package

pip install https://github.com/Anaconda-Server/nbbrowserpdf/archive/master.zip
python -m nbbrowserpdf.install

Enable the extension for every notebook launch:

python -m nbbrowserpdf.install --enable

Installing with conda will handle the installation and enabling (in user space):

conda install --channel anaconda-nb-extensions 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:

nbbrowserpdf -i Notebook.ipynb -o Notebook.pdf

nbbrowserpdf will also work with streams

cmd_that_makes_ipynb | nbbrowserpdf > output.pdf

You can also see the whole documentation

nbbrowserpdf --help

Development

TODO: document development processes

About

LaTeX-free PDF generation from Jupyter Notebooks

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 84.0%
  • Smarty 11.5%
  • JavaScript 2.6%
  • Other 1.9%