Thanks for mentioning papermill M!

Just a note to add on for papermill <https://github.com/nteract/papermill>
- you don't *have* to run them in parallel or in containerized
environments. It's a command line tool to execute a notebook which supports
setting parameters, recording values for later recall (within the notebook
file). Running in parallel is a matter of running papermill more than once.
😁

Docs for papermill: http://papermill.readthedocs.io/en/latest/

-- Kyle



On Thu, Feb 15, 2018 at 12:08 AM, M Pacer <[email protected]> wrote:

> nbconvert + Jupyter does not do much for image positioning out of the
> gate. However, please open an issue on nbconvert
> <https://github.com/jupyter/nbconvert> and we can try to figure out the
> right way to go about
> 1. storing the metadata in the notebook
> 2. extracting that metadata from the notebook somewhere using an nbconvert
> Preprocessor
> 3. exposing the metadata in the correct way in a Jinja template
>
> nbconvert also allows you to execute notebooks on the command line using
> the --execute flag, or programmatically in python with the
> ExecutePreprocessor
> <http://nbconvert.readthedocs.io/en/latest/execute_api.html?#executing-notebooks-using-the-python-api-interface>
>  API.
> Then, if you wanted to directly handle the plots, you could extract images
> written during the plotting calls from the resulting outputs. From that
> point, you could rearrange the images into subplots as you would like.
>
> You also might want to look at papermill
> <https://github.com/nteract/papermill>, it sounds like that's solving a
> similar class of problems, though it is deploying the notebooks in parallel
> in containerized environments. NB: you're running things locally, you'll
> have to worry about side-effects if you try to parallelise this using the
> standard nbconvert API.
>
> Does that give you a good idea of where to go for next steps? If not, is
> there anything else I can help answer?
>
> On Wed, Feb 14, 2018 at 11:22 PM, Roland Weber <[email protected]>
> wrote:
>
>> Sounds like nbconvert is what you're looking for...
>> https://nbconvert.readthedocs.io/en/latest/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jupyter/be7f8439-16df-4ed2-a41f-d42b21bdbfd8%40googlegroups.com
>> <https://groups.google.com/d/msgid/jupyter/be7f8439-16df-4ed2-a41f-d42b21bdbfd8%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/CAM3SX44DZOBam4VuTCKaNu%2BtLh4goCobacFLB99KX5acZF5Sag%
> 40mail.gmail.com
> <https://groups.google.com/d/msgid/jupyter/CAM3SX44DZOBam4VuTCKaNu%2BtLh4goCobacFLB99KX5acZF5Sag%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Kyle Kelley (@rgbkrk <https://twitter.com/rgbkrk>; lambdaops.com)

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CA%2BtbMaWHNPS_i9MaDja_8FVWH9XV7yznSd8gjL7Hc_JWrVVRRw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to