[IPython-dev] [nbconvert] Reining in the number of constructor arguments

Thomas Kluyver takowl@gmail....
Sat Dec 1 05:26:22 CST 2012


On 1 December 2012 00:34, David Warde-Farley <d.warde.farley@gmail.com>wrote:

> It seems like the right place for this code would be in a class method
> attached to each
> Converter class. Then nbconvert.py could iterate over the classes it
> knows about and
> call cls.cli_argument_parser(), and add that to the global one.
>

Have a look at the Configurable/Application framework we use in the main
IPython codebase - I think this should be flexible enough to use in
nbconvert as well.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20121201/00b878b1/attachment-0001.html 


More information about the IPython-dev mailing list