IPython Documentation

Table Of Contents

Previous topic

Module: nbconvert.filters.strings

Next topic

Module: nbconvert.post_processors.base

This Page

Warning

This documentation is for an old version of IPython. You can find docs for newer versions here.

Module: nbconvert.nbconvertapp

NBConvert is a utility for conversion of .ipynb files.

Command-line interface for the NbConvert conversion utility.

2 Classes

class IPython.nbconvert.nbconvertapp.DottedOrNone(default_value=<IPython.utils.traitlets.NoDefaultSpecified object at 0x1050a6f90>, **metadata)

Bases: IPython.utils.traitlets.DottedObjectName

A string holding a valid dotted object name in Python, such as A.b3._c Also allows for None type.

class IPython.nbconvert.nbconvertapp.NbConvertApp(**kwargs)

Bases: IPython.core.application.BaseIPythonApplication

Application used to convert to and from notebook file type (*.ipynb)

convert_notebooks()

Convert the notebooks in the self.notebook traitlet

init_notebooks()

Construct the list of notebooks. If notebooks are passed on the command-line, they override notebooks specified in config files. Glob each notebook to replace notebook patterns with filenames.

init_post_processor()

Initialize the post_processor (which is stateless)

init_syspath()

Add the cwd to the sys.path ($PYTHONPATH)

init_writer()

Initialize the writer (which is stateless)

start()

Ran after initialization completed