<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/atom.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Posts tagged: datascience</title>
  <id>https://waylonwalker.com/tags/datascience/atom.xml</id>
  <updated>2022-01-02T20:24:48Z</updated>
  <subtitle>All posts with the tag &#34;datascience&#34;</subtitle>
  <link href="https://waylonwalker.com/tags/datascience/" rel="alternate" type="text/html"></link>
  <link href="https://waylonwalker.com/tags/datascience/atom.xml" rel="self" type="application/atom+xml"></link>
  <author>
    <name>Waylon Walker</name>
  </author>
  <generator uri="https://github.com/WaylonWalker/markata-go">markata-go</generator>
  <entry>
    <title>Running Kedro on Ubuntu 21.10 Impish Indri</title>
    <id>https://waylonwalker.com/kedro-ubuntu-impish/</id>
    <updated>2022-01-02T20:24:48Z</updated>
    <published>2022-01-02T20:24:48Z</published>
    <link href="https://waylonwalker.com/kedro-ubuntu-impish/" rel="alternate" type="text/html"></link>
    <summary type="text">I just installed a brand new Ubuntu 21.10 Impish Indri, and wanted a kedro project to play with so I did what any good kedroid would do, I went to my command...</summary>
    <content type="html">&lt;p&gt;I just installed a brand new Ubuntu 21.10 Impish Indri, and wanted a&#xA;kedro project to play with so I did what any good kedroid would do, I&#xA;went to my command line and ran&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;pipx run kedro new --starter spaceflights&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;But what I got back was not what I expected!&lt;/p&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Fatal error from pip prevented installation. Full pip output in file:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    /home/walkers/.local/pipx/logs/cmd_2022-01-01_20.42.16_pip_errors.log&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Some possibly relevant errors from pip install:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    ERROR: Could not find a version that satisfies the requirement kedro &lt;span class=&#34;o&#34;&gt;(&lt;/span&gt;from versions: none&lt;span class=&#34;o&#34;&gt;)&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    ERROR: No matching distribution found &lt;span class=&#34;k&#34;&gt;for&lt;/span&gt; kedro&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Error installing kedro.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This is weird, why cant I run kedro new with pipx?  Lets try pip.&lt;/p&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pip install kedro&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Same issue.&lt;/p&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ERROR: Could not find a version that satisfies the requirement kedro &lt;span class=&#34;o&#34;&gt;(&lt;/span&gt;from versions: none&lt;span class=&#34;o&#34;&gt;)&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ERROR: No matching distribution found &lt;span class=&#34;k&#34;&gt;for&lt;/span&gt; kedro&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;a href=&#34;/what-is-kedro/&#34; class=&#34;wikilink&#34; data-title=&#34;What is Kedro&#34; data-description=&#34;Kedro is an unopinionated Data Engineering framework that comes with a somewhat opinionated template. It gives the user a way to build pipelines that...&#34; data-date=&#34;2021-08-17&#34; data-preview=&#34;Kedro is an unopinionated Data Engineering framework that comes with a somewhat opinionated template. It gives the user a way to build pipelines that...&#34;&gt;What is Kedro&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Curious what kedro is?  Check out this article.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;whats-up&#34;&gt;What’s up &lt;a href=&#34;#whats-up&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;em&gt;wrong python version&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;The issue is that kedro only runs on up to &lt;code&gt;python 3.8&lt;/code&gt;, and on Ubuntu&#xA;21.10 when you &lt;code&gt;apt install python3&lt;/code&gt; you get &lt;code&gt;python 3.9&lt;/code&gt; and the&#xA;standard repos don’t have an old enough version to run kedro.&lt;/p&gt;&#xA;&lt;h2 id=&#34;how-to-fix-this&#34;&gt;How to fix this? &lt;a href=&#34;#how-to-fix-this&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Theres a couple of ways you can fix this?  They all involve installing a&#xA;distribution that does not come from the standard repo.&lt;/p&gt;&#xA;&lt;h2 id=&#34;where-can-i-get-the-right-version&#34;&gt;Where Can I get the right version &lt;a href=&#34;#where-can-i-get-the-right-version&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Anaconda&lt;/li&gt;&#xA;&lt;li&gt;Python.org&lt;/li&gt;&#xA;&lt;li&gt;deadsnakes&lt;/li&gt;&#xA;&lt;li&gt;pyenv&lt;/li&gt;&#xA;&lt;li&gt;miniconda&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;i-have-two-articles-that-can-help-you&#34;&gt;I have two articles that can help you &lt;a href=&#34;#i-have-two-articles-that-can-help-you&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;a href=&#34;/install-miniconda/&#34; class=&#34;wikilink&#34; data-title=&#34;How to Install miniconda on linux (from the command line only)&#34; data-description=&#34;Installing miniconda from only the command line can be a bit of an intimidating task your first time. Lets walk through how to do it.&#34; data-date=&#34;2020-08-10&#34; data-preview=&#34;Installing miniconda from only the command line can be a bit of an intimidating task your first time. Lets walk through how to do it.&#34;&gt;How to Install miniconda on linux (from the command line only)&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Using miniconda&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;conda create -n myenv &lt;span class=&#34;nv&#34;&gt;python&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;3.8&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;a href=&#34;/pyenv-first-impressions/&#34; class=&#34;wikilink&#34; data-title=&#34;My first impressions with pyenv&#34; data-description=&#34;pyenv provides an easy way to install almost any version of python from a large list of distributions. I have simply been using the version of python from...&#34; data-date=&#34;2021-12-30&#34; data-preview=&#34;pyenv provides an easy way to install almost any version of python from a large list of distributions. I have simply been using the version of python from...&#34;&gt;My first impressions with pyenv&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Using pyenv&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pyenv install 3.8.12&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;</content>
    <author>
      <name>Waylon Walker</name>
      <email>hello@waylonwalker.com</email>
      <uri>https://waylonwalker.com</uri>
    </author>
  </entry>
  <entry>
    <title>JUT | Read Notebooks in the Terminal</title>
    <id>https://waylonwalker.com/jut/</id>
    <updated>2021-11-20T10:38:00Z</updated>
    <published>2021-11-20T10:38:00Z</published>
    <link href="https://waylonwalker.com/jut/" rel="alternate" type="text/html"></link>
    <summary type="text">Trying to read a .ipynb file without starting a jupyter server? jut has you covered.</summary>
    <content type="html">&lt;p&gt;Trying to read a .ipynb file without starting a jupyter server?  jut has you&#xA;covered.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://youtu.be/t8AvImnwor0&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/youtu.be.png&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/youtu.be.png&#34; class=&#34;has-avatar  has-avatar-before&#34;&gt;https://youtu.be/t8AvImnwor0&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;watch the video version of this post on &lt;a href=&#34;https://youtu.be/t8AvImnwor0&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/youtu.be.png&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/youtu.be.png&#34; class=&#34;has-avatar  has-avatar-before&#34;&gt;YouTube&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;install&#34;&gt;install &lt;a href=&#34;#install&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;jut&lt;/code&gt; is packaged and available on pypi so installing is as easy as pip installing it.&lt;/p&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pip install jut&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;figure&gt;&#xA;&lt;a href=&#34;https://images.waylonwalker.com/jut-install.gif&#34; class=&#34;glightbox-link&#34;&gt;&lt;img class=&#34;glightbox&#34; src=&#34;https://images.waylonwalker.com/jut-install.gif&#34; alt=&#34;installing jut with pip&#34;/ data-glightbox=&#34;description: installing jut with pip&#34;&gt;&lt;/a&gt;&#xA;&lt;/figure&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;! This is my first time including snippets of the video in the article like this, let me know what you think!&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;examples&#34;&gt;examples &lt;a href=&#34;#examples&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;jut https://cantera.org/examples/jupyter/thermo/flame_temperature.ipynb&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;jut https://cantera.org/examples/jupyter/thermo/flame_temperature.ipynb --head &lt;span class=&#34;m&#34;&gt;3&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;jut https://cantera.org/examples/jupyter/thermo/flame_temperature.ipynb --tail &lt;span class=&#34;m&#34;&gt;2&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;figure&gt;&#xA;&lt;a href=&#34;https://images.waylonwalker.com/jut-command.gif&#34; class=&#34;glightbox-link&#34;&gt;&lt;img class=&#34;glightbox&#34; src=&#34;https://images.waylonwalker.com/jut-command.gif&#34; alt=&#34;running jut examples&#34;/ data-glightbox=&#34;description: running jut examples&#34;&gt;&lt;/a&gt;&#xA;&lt;/figure&gt;&#xA;&lt;h2 id=&#34;what-are-all-the-commands-available-for-jut&#34;&gt;what are all the commands available for jut? &lt;a href=&#34;#what-are-all-the-commands-available-for-jut&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Take a look at the help of the &lt;code&gt;jut&lt;/code&gt; cli to explore all the options that it&#xA;offers.&lt;/p&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;jut --help&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;There is some good information on the projects&#xA;&lt;a href=&#34;https://github.com/kracekumar/jut&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/github.com.ico&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/github.com.ico&#34; class=&#34;has-avatar  has-avatar-before&#34;&gt;readme&lt;/a&gt; as well.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;&lt;a href=&#34;https://images.waylonwalker.com/jut-help.gif&#34; class=&#34;glightbox-link&#34;&gt;&lt;img class=&#34;glightbox&#34; src=&#34;https://images.waylonwalker.com/jut-help.gif&#34; alt=&#34;getting help with jut&#34;/ data-glightbox=&#34;description: getting help with jut&#34;&gt;&lt;/a&gt;&#xA;&lt;/figure&gt;&#xA;&lt;h2 id=&#34;without-installing&#34;&gt;without installing &lt;a href=&#34;#without-installing&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;em&gt;using pipx&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;Don’t want jut cluttering up your venv, or want to save yourself from making a&#xA;new one, &lt;a href=&#34;https://github.com/pypa/pipx&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/github.com.ico&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/github.com.ico&#34; class=&#34;has-avatar  has-avatar-before&#34;&gt;&lt;code&gt;pipx&lt;/code&gt;&lt;/a&gt; can manage a separate virual&#xA;environment for you.  This is one of the biggest selling points for me.&lt;/p&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pipx run jut https://cantera.org/examples/jupyter/thermo/flame_temperature.ipynb --head &lt;span class=&#34;m&#34;&gt;3&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;figure&gt;&#xA;&lt;a href=&#34;https://images.waylonwalker.com/jut-pipx.gif&#34; class=&#34;glightbox-link&#34;&gt;&lt;img class=&#34;glightbox&#34; src=&#34;https://images.waylonwalker.com/jut-pipx.gif&#34; alt=&#34;running jut with pipx&#34;/ data-glightbox=&#34;description: running jut with pipx&#34;&gt;&lt;/a&gt;&#xA;&lt;/figure&gt;&#xA;&lt;h2 id=&#34;nbconvert&#34;&gt;nbconvert &lt;a href=&#34;#nbconvert&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;jut&lt;/code&gt; is the lightweight option that I think will fit the bill often for me,&#xA;but it just doesn’t always cut it.  Mostly if there are images in the notebook&#xA;or  large output that is hard to read, its time to pull out the medium guns&#xA;that sit between fulling running jupyter and &lt;code&gt;jut&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pip install nbconvert&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;blockquote&gt;&#xA;&lt;p&gt;nbconvert does not have its own cli, instead it sits under the jupyter command.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h3 id=&#34;converting-to-&lt;a href=&#34;/html/&#34; class=&#34;glossary-term&#34; title=&#34;HTML (HyperText Markup Language) is the standard markup language used to create and design documents on the World Wide Web. It structures web content by...&#34;&gt;html&lt;/a&gt;&#34;&gt;converting to html &lt;a href=&#34;#converting-to-html&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Need to see images, go here!&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;wget https://cantera.org/examples/jupyter/thermo/flame_temperature.ipynb&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;jupyter nbconvert flame_temperature.ipynb --to html&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;python -m http.server&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;blockquote&gt;&#xA;&lt;p&gt;Note, nb convert does not work with a url, you will need to have the notebook locally.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;figure&gt;&#xA;&lt;a href=&#34;https://images.waylonwalker.com/jut-nbconvert-html.gif&#34; class=&#34;glightbox-link&#34;&gt;&lt;img class=&#34;glightbox&#34; src=&#34;https://images.waylonwalker.com/jut-nbconvert-html.gif&#34; alt=&#34;nbconvert to html to see images&#34;/ data-glightbox=&#34;description: nbconvert to html to see images&#34;&gt;&lt;/a&gt;&#xA;&lt;/figure&gt;&#xA;&lt;h2 id=&#34;what-other-options-does-nbconvert-offer&#34;&gt;what other options does nbconvert offer? &lt;a href=&#34;#what-other-options-does-nbconvert-offer&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;nbconvert&lt;/code&gt; also offers a standard help flag that you can access by passing in&#xA;the &lt;code&gt;--help&lt;/code&gt; flag&lt;/p&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;jupyter nbconvert --help&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;converting-to-markdown&#34;&gt;converting to markdown &lt;a href=&#34;#converting-to-markdown&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;&lt;code&gt;nbconvert&lt;/code&gt; also supports converting to many other formats, one option that is&#xA;quite interesting for use in the terminal is markdown.  We could simply convert&#xA;the notebook to markdown and cat it out.&lt;/p&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;jupyter nbconvert flame_temperature.ipynb --to maarkdown&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cat flameflame_temperature.md&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;figure&gt;&#xA;&lt;a href=&#34;https://images.waylonwalker.com/jut-nbconvert-markdown-bat.gif&#34; class=&#34;glightbox-link&#34;&gt;&lt;img class=&#34;glightbox&#34; src=&#34;https://images.waylonwalker.com/jut-nbconvert-markdown-bat.gif&#34; alt=&#34;nbconvert to markdown and displaying in bat&#34;/ data-glightbox=&#34;description: nbconvert to markdown and displaying in bat&#34;&gt;&lt;/a&gt;&#xA;&lt;/figure&gt;&#xA;&lt;h3 id=&#34;viewing-markdown-with-glow&#34;&gt;viewing markdown with glow &lt;a href=&#34;#viewing-markdown-with-glow&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;Glow is a terminal markdown viewer that looks really good.  These days I use&#xA;&lt;code&gt;bat&lt;/code&gt; as &lt;code&gt;cat&lt;/code&gt; so I don’t get quite as much benefit from &lt;code&gt;glow&lt;/code&gt;, but it still&#xA;looks pretty good.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;glow flameflame_temperature.md&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;figure&gt;&#xA;&lt;a href=&#34;https://images.waylonwalker.com/jut-nbconvert-markdown-glow.gif&#34; class=&#34;glightbox-link&#34;&gt;&lt;img class=&#34;glightbox&#34; src=&#34;https://images.waylonwalker.com/jut-nbconvert-markdown-glow.gif&#34; alt=&#34;nbconvert to markdown and displaying in glow&#34;/ data-glightbox=&#34;description: nbconvert to markdown and displaying in glow&#34;&gt;&lt;/a&gt;&#xA;&lt;/figure&gt;&#xA;&lt;h3 id=&#34;viewing-markdown-as-slides-with-lookatme&#34;&gt;viewing markdown as slides with lookatme &lt;a href=&#34;#viewing-markdown-as-slides-with-lookatme&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;&lt;em&gt;&lt;a href=&#34;https://github.com/d0c-s4vage/lookatme&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/github.com.ico&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/github.com.ico&#34; class=&#34;has-avatar  has-avatar-before&#34;&gt;lookatme&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;Lookatme is my slideshow tool of choice.  Creating slides in markdown is such a&#xA;fantasic user experience,  It realy lets you go from outline to finished slide&#xA;deck fluidly.  Refactoring the whole thing is also so much easier than with gui&#xA;tools.  Once you have your idea fleshed out it does make the process of making&#xA;slides in powerpoint much easier if thats what you need.&lt;/p&gt;&#xA;&lt;p&gt;On to nbconvert, without even changing the notebook we can look at the notebook&#xA;as a slideshow in the terminal.  The only thing that it needs is some markdown&#xA;headers to start new slides from.&lt;/p&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;lookatme flameflame_temperature.md&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;figure&gt;&#xA;&lt;a href=&#34;https://images.waylonwalker.com/jut-nbconvert-markdown-lookatme.gif&#34; class=&#34;glightbox-link&#34;&gt;&lt;img class=&#34;glightbox&#34; src=&#34;https://images.waylonwalker.com/jut-nbconvert-markdown-lookatme.gif&#34; alt=&#34;nbconvert to markdown and displaying as slides with lookatme&#34;/ data-glightbox=&#34;description: nbconvert to markdown and displaying as slides with lookatme&#34;&gt;&lt;/a&gt;&#xA;&lt;/figure&gt;&#xA;&lt;h3 id=&#34;viewing-markdown-with-rich&#34;&gt;viewing markdown with rich &lt;a href=&#34;#viewing-markdown-with-rich&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;Bringing this full circle, lets take a look at the converted markdown with&#xA;rich.  Here you will notice a surprising similarity to what we saw with &lt;code&gt;jut&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pip install rich&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;python -m rich.markdown flame_temperature.md&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Rich still cannot pull directly from a url or display markdown with out being&#xA;installed and managed by yourself.  Unlike how &lt;code&gt;jut&lt;/code&gt; can leverage &lt;a href=&#34;https://github.com/pypa/pipx&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/github.com.ico&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/github.com.ico&#34; class=&#34;has-avatar  has-avatar-before&#34;&gt;&lt;code&gt;pipx&lt;/code&gt;&lt;/a&gt; to&#xA;manage the installation sandbox for you.&lt;/p&gt;&#xA;&lt;h2 id=&#34;links&#34;&gt;Links &lt;a href=&#34;#links&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/kracekumar/jut&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/github.com.ico&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/github.com.ico&#34; class=&#34;has-avatar  has-avatar-before&#34;&gt;jut&lt;/a&gt; - View notebooks in the terminal&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://nbconvert.readthedocs.io/en/latest/usage.html&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/nbconvert.readthedocs.io.ico&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/nbconvert.readthedocs.io.ico&#34; class=&#34;has-avatar  has-avatar-before&#34;&gt;nbconvert&lt;/a&gt; - convert notebooks to other formats&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://cantera.org/examples/jupyter/thermo/flame_temperature.ipynb&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/cantera.org.png&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/cantera.org.png&#34; class=&#34;has-avatar  has-avatar-before&#34;&gt;flame-temperature notebook&lt;/a&gt; - The sample notebook I used&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/charmbracelet/glow&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/github.com.ico&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/github.com.ico&#34; class=&#34;has-avatar  has-avatar-before&#34;&gt;glow&lt;/a&gt; - Terminal Markdown viewer&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/d0c-s4vage/lookatme&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/github.com.ico&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/github.com.ico&#34; class=&#34;has-avatar  has-avatar-before&#34;&gt;lookatme&lt;/a&gt; - Terminal Markdown slideshow tool&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/pypa/pipx&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/github.com.ico&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/github.com.ico&#34; class=&#34;has-avatar  has-avatar-before&#34;&gt;pipx&lt;/a&gt; - Run python cli’s without maintianing a &lt;a href=&#34;/virtual-environment/&#34; class=&#34;glossary-term&#34; title=&#34;Virtual Environment is term for a sandboxed environment commonly associated with the python programming language. If you are installing any sort of python...&#34;&gt;virtual environment&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/willmcgugan/rich&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/github.com.ico&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/github.com.ico&#34; class=&#34;has-avatar  has-avatar-before&#34;&gt;rich&lt;/a&gt; - Beautiful python terminal formatter&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</content>
    <author>
      <name>Waylon Walker</name>
      <email>hello@waylonwalker.com</email>
      <uri>https://waylonwalker.com</uri>
    </author>
  </entry>
</feed>