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>, **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 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_postprocessor()

Initialize the postprocessor (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