<p><strong>Watch the live stream:</strong></p>
<a href='https://www.youtube.com/watch?v=Rw4xPX0E33o' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>
<p><strong>About the show</strong></p>
<p><strong>Sponsored by</strong> <a href="https://pythonbytes.fm/mergify"><strong>Mergify</strong></a>! </p>
<p>Special guest: Pat Decker</p>
<p><strong>Michael #0</strong>: New live stream / recording time: 12pm US PT on <strong>Tuesdays</strong>. Please <a href="https://www.youtube.com/c/PythonBytesPodcast"><strong>subscribe to our YouTube channel</strong></a> to get notified and be part of the episodes.</p>
<p><strong>Brian #1:</strong> <strong>BTW, don’t make a public repo private</strong></p>
<ul>
<li><a href="https://httpie.io/blog/stardust">How we lost 54k GitHub stars</a>
<ul>
<li>Jakub Roztočil</li>
<li>HTTPie kinda sorta accidentally flipped their main repo to private for a sec.</li>
<li>And dropped the star count from 54k to 0</li>
<li>oops</li>
<li>They’re back up to 16k, as of today. But ouch.</li>
</ul></li>
<li>“HTTPie is a command-line HTTP client. Its goal is to make CLI interaction with web services as human-friendly as possible. HTTPie is designed for testing, debugging, and generally interacting with APIs & HTTP servers. The http & https commands allow for creating and sending arbitrary HTTP requests. They use simple and natural syntax and provide formatted and colorized output.”</li>
<li>Actually, pretty cool tool to use for developing and testing APIs.</li>
</ul>
<p><strong>Michael #2:</strong> <a href="https://cerfacs.fr/coop/fortran-vs-python"><strong>The counter-intuitive rise of Python in scientific computing</strong></a></p>
<ul>
<li>via Galen Swint</li>
<li>In our laboratory, a polarizing debate rages since around 2010, summarized by this question: <strong>Why are more and more time-critical scientific computations formerly performed in Fortran now written in Python, a slower language?</strong></li>
<li>Python has the reputation of being slow, <em>i.e.</em> significantly slower than compiled languages such as Fortran, C or Rust.</li>
<li><strong>So yes, plain Python is much slower than Fortran.</strong></li>
<li>However, this comparison makes little sense, as scientific uses of Python do not rely on plain Python.</li>
<li><strong>Used the right way, Python is slightly slower than compiled code.</strong></li>
</ul>
<p><strong>Pat #3:</strong> </p>
<ul>
<li><a href="https://www.realmicentral.com/2022/03/25/meta-donates-300000-to-the-python-software-foundation/">Meta donates $300,000 to PSF</a> to add a second year for the Developer in Residence</li>
</ul>
<p><strong>Brian #4:</strong> <strong>Dashboards in Python</strong></p>
<ul>
<li>Two suggestions from Marc Skov Madsen</li>
<li><a href="https://towardsdatascience.com/the-easiest-way-to-create-an-interactive-dashboard-in-python-77440f2511d1"><strong>The Easiest Way to Create an Interactive Dashboard in Python</strong></a>
<ul>
<li>Sophia Yang & Mark Skov Madsen</li>
<li>Includes
<ul>
<li>animated gif showing the dashboard</li>
<li>video of Sophia walking through the article in under 6 minutes</li>
</ul></li>
<li>“Turn Pandas pipelines into a dashboard using hvPlot .interactive"</li>
<li>hvPlot is part of HoloViz and this example is pretty short and amazing to get a great dashboard with controls up very quickly.</li>
</ul></li>
<li><a href="https://www.youtube.com/watch?v=4a-Db1zhTEw"><strong>Python Dashboarding Shootout and Showdown | PyData Global 2021</strong></a>
<ul>
<li>5 speakers, 4 dashboard libraries, nice for comparison. </li>
<li>Nice clickable index posted by Duy Nguyen
<ul>
<li><a href="https://www.youtube.com/watch?v=4a-Db1zhTEw&t=0s">00:00</a> - Begin and Welcome</li>
<li><a href="https://www.youtube.com/watch?v=4a-Db1zhTEw&t=195s">03:15</a> - Intro to the 4 Dashboarding libraries</li>
<li><a href="https://www.youtube.com/watch?v=4a-Db1zhTEw&t=424s">07:04</a> - Plotly - Nicolas Kruchten</li>
<li><a href="https://www.youtube.com/watch?v=4a-Db1zhTEw&t=1321s">22:01</a> - Panel - Marc Skov Madsen</li>
<li><a href="https://www.youtube.com/watch?v=4a-Db1zhTEw&t=2258s">37:38</a> - voila - Sylvain Corlay</li>
<li><a href="https://www.youtube.com/watch?v=4a-Db1zhTEw&t=3096s">51:36</a> - Streamlit - Adrien Treuille</li>
<li><a href="https://www.youtube.com/watch?v=4a-Db1zhTEw&t=4252s">01:10:52</a> - Discussion Topics</li>
</ul></li>
</ul></li>
</ul>
<p><strong>Michael #5:</strong> <a href="https://github.com/dchevell/sourcepy"><strong>sourcepy</strong></a></p>
<ul>
<li>by Dave Chevell</li>
<li>Sourcepy lets you source python scripts natively inside your shell</li>
<li>Imagine a Python script with functions in it. This converts those to CLI commands (kind of like entrypoints, but simpler)</li>
<li>Type hints can be used to coerce input values into their corresponding types.</li>
<li>standard <code>IO</code> type hints can be used to target stdin at different arguments and to receive the <code>sys.stdin</code></li>
<li>Sourcepy has full support for asyncio syntax</li>
</ul>
<p><strong>Pat #6:</strong> <a href="https://itsfoss.com/xonsh-shell/"><strong>Xonsh</strong></a></p>
<ul>
<li>Xonsh Shell Combines the Best of Bash Shell and Python in Linux Terminal</li>
<li>Awesome demo video (50 min) <a href="https://youtu.be/x85LSyCxiw8">https://youtu.be/x85LSyCxiw8</a></li>
</ul>
<p><strong>Extras</strong> </p>
<p>Pat: </p>
<ul>
<li>Donate to the PSF by using <a href="https://rewards.microsoft.com">https://rewards.microsoft.com</a></li>
</ul>
<p><strong>Joke:</strong> <a href="https://twitter.com/PR0GRAMMERHUM0R/status/1507583148921659395"><strong>Can you really quit vim</strong></a>?</p>
<p><strong>Joke</strong>: <a href="https://twitter.com/mediocreheroes/status/1498738648459657222?s=20&t=HE_YXD6EefxEURDpy3szWw"><strong>Forgetting how to count</strong></a></p>
↧