nbtemplate

Render iPython notebooks to other layouts, via templates. Library and command-line tool.


Keywords
ipython notebooks nbconvert
License
MIT
Install
pip install nbtemplate==0.0.1

Documentation

nbtemplate

nbtemplate is a Python library and command-line tool for rendering iPython notebooks via user-specified templates. At its core, nbtemplate is just a simplified veneer over iPython's nbconvert library.

Installation

pip install nbconvert

Usage

Library

TK

Command-Line Tool

TK

API

nbtemplate.Template(template, template_path, preprocessors=[], filters={}, skip_default_filters=False, **kw)

TK

t.from_file(file_stream, resources=None, **kw)

Defined by iPython's nbconvert module.

TK

t.from_filename(filename, resources=None, **kw)

Defined by iPython's nbconvert module.

TK

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request