Simple jupyter Notebook Runner that shows cell output
Project description
nbRunner
Fast JupyterNotebook Runner
Examples
$ nbRunner
usage: nbRunner Notebook
nbRunner: error: the following arguments are required: Notebook
$ nbRunner examples/nounVerb.ipynb
Default does the Default
$ nbRunner examples/nounVerb.ipynb --help
usage: nbRunner [-h] [--who [WHO]] [--verb [VERB]]
optional arguments:
-h, --help show this help message and exit
--who [WHO]
--verb [VERB]
$ nbRunner examples/nounVerb.ipynb --who=Billy --verb=knocked
Billy knocked
$ time nbRunner examples/nounVerb.ipynb
Default does the Default
real 0m1.637s
user 0m1.253s
sys 0m0.146s
$ time jupyter nbconvert --to notebook --execute examples/nounVerb.ipynb
[NbConvertApp] Converting notebook examples/nounVerb.ipynb to notebook
[NbConvertApp] Writing 2014 bytes to examples/nounVerb.nbconvert.ipynb
real 0m2.227s
user 0m1.507s
sys 0m0.178s
$ time nbRunner examples/nounVerb.ipynb
Default does the Default
real 0m1.922s
user 0m1.205s
sys 0m0.171s
$ time jupyter nbconvert --to notebook --execute examples/nounVerb.ipynb
[NbConvertApp] Converting notebook examples/nounVerb.ipynb to notebook
[NbConvertApp] Writing 2014 bytes to examples/nounVerb.nbconvert.ipynb
real 0m2.072s
user 0m1.461s
sys 0m0.177s
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
nbRunner-0.6-py3-none-any.whl
(40.9 kB
view hashes)