<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>jupyter | rael.io</title><link>https://rael.io/tags/jupyter/</link><atom:link href="https://rael.io/tags/jupyter/index.xml" rel="self" type="application/rss+xml"/><description>jupyter</description><generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>Fork me on [GitHub](https://github.com/raelga/rael.io)</copyright><lastBuildDate>Tue, 06 Mar 2018 11:23:56 +0200</lastBuildDate><image><url>https://rael.io/img/photos/emma-hello-card.jpg</url><title>jupyter</title><link>https://rael.io/tags/jupyter/</link></image><item><title>Jupyter Image Extractor</title><link>https://rael.io/project/jupyter-image-extractor/</link><pubDate>Tue, 06 Mar 2018 11:23:56 +0200</pubDate><guid>https://rael.io/project/jupyter-image-extractor/</guid><description>
&lt;p&gt;Parses a Jupyter book html and extracts the images.&lt;/p&gt;
&lt;h2 id=&#34;build&#34;&gt;Build&lt;/h2&gt;
&lt;p&gt;Build the container:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;ellie:ws rael$ make docker-build
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Expected output:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;docker build . -t &#39;jupyter-image-extractor&#39;
Sending build context to Docker daemon 12.46MB
Step 1/1 : FROM python:3-onbuild
# Executing 3 build triggers
---&amp;gt; Running in be4957e8a2d2
Collecting beautifulsoup4 (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/9e/d4/10f46e5cfac773e22707237bfcd51bbffeaf0a576b0a847ec7ab15bd7ace/beautifulsoup4-4.6.0-py3-none-any.whl (86kB)
Installing collected packages: beautifulsoup4
Successfully installed beautifulsoup4-4.6.0
Removing intermediate container be4957e8a2d2
---&amp;gt; 2b1181b0bde2
Successfully built 2b1181b0bde2
Successfully tagged jupyter-image-extractor:latest
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;execute&#34;&gt;Execute&lt;/h2&gt;
&lt;p&gt;Run the script with docker:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;ellie:ws rael$ make docker-run
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Expected output:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;docker run -it --rm --name &#39;jupyter-image-extractor&#39; -v &amp;quot;/Users/rael/Documents/Code/python/ws:/code&amp;quot; -w /code &#39;jupyter-image-extractor&#39; python jupyterImageSaver.py Jupyter\ Notebook\ Viewer.html
./Jupyter Notebook Viewer_files/nav_logo.svg
./images/base64-img-1.png
./images/base64-img-2.png
./images/base64-img-3.png
./images/base64-img-4.png
./images/base64-img-5.png
./images/base64-img-6.png
&lt;/code&gt;&lt;/pre&gt;</description></item></channel></rss>