Warning

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

Module: html.nbconvert.handlers

Tornado handlers for nbconvert.

2 Classes

class IPython.html.nbconvert.handlers.NbconvertFileHandler(application, request, **kwargs)

Bases: IPython.html.base.handlers.IPythonHandler

class IPython.html.nbconvert.handlers.NbconvertPostHandler(application, request, **kwargs)

Bases: IPython.html.base.handlers.IPythonHandler

3 Functions

IPython.html.nbconvert.handlers.find_resource_files(output_files_dir)
IPython.html.nbconvert.handlers.respond_zip(handler, name, output, resources)

Zip up the output and resource files and respond with the zip file.

Returns True if it has served a zip file, False if there are no resource files, in which case we serve the plain output file.

IPython.html.nbconvert.handlers.get_exporter(format, **kwargs)

get an exporter, raising appropriate errors