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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request