IPython Documentation

Table Of Contents

Previous topic

Module: nbconvert.filters.strings

Next topic

Module: nbconvert.post_processors.base

This Page


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 the notebooks in the self.notebook traitlet


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.


Initialize the post_processor (which is stateless)


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


Initialize the writer (which is stateless)


Ran after initialization completed