Simple library to merge several jupyter notebook into one.
- Python 3.6
- Pandas >= 0.23.4
- Numpy >= 1.15.1
- beautifulsoup4 (bs4) >= 4.5.1
- urllib
- IPython >= 6.5.0
Can be installed using pip:
pip install git+git://github.com/aiodia/junomerger.git
- import library
import junomerger
- Create several notebook, let say notebook A and B.
- Give unique keyword to several or all cell :
junomerger.print_hidden_tag('my_unique_keyword')
- Run notebook A and C, then save.
- Create notebook C to merge A and B
- Convert notebook A and B into html
notebook_a = junomerger.convert_ipynb2html('notebook_a.ipynb')
notebook_b = junomerger.convert_ipynb2html('notebook_b.ipynb')
- show particular output based on unique keyword that has been created
notebook_a.show_jupyter_output(keyword='my_unique_keyword')
see this articles and examples folder for details.
This software is licensed with the MIT license. See LICENSE.txt
for the full text.