Executing IPython notebooks in make / from command line

I am wondering if there is a way to start all cells from IPython notebook from command line (maybe there is)?

The purpose of this would be to put this command in a file make

, for example, for a parsed data analysis pipeline. Of course, everything can be converted to python scripts, however, if there is a way to make it work with IPython notebook it will be even better.

make an example file:

some_data.zip:
    curl -o some_data.zip 'http://some_address.zip'

some_data.csv: some_data.zip
    unzip some_data.zip
    python preprocessing.py some_data.dat

grpahic.png: some_data.csv
    # run ipython notebook somehow

      

+3


source to share





All Articles