Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22464

Python Bytes: #287 Surprising ways to use Jupyter Notebooks

$
0
0
<p><strong>Watch the live stream:</strong></p> <a href='https://www.youtube.com/watch?v=QwKCZ44j9b4' style='font-weight: bold;'>Watch on YouTube</a><br> <br> <p><strong>About the show</strong></p> <p>Sponsored by us! Support our work through:</p> <ul> <li>Our <a href="https://training.talkpython.fm/"><strong>courses at Talk Python Training</strong></a></li> <li><a href="https://testandcode.com/"><strong>Test &amp; Code</strong></a> Podcast</li> <li><a href="https://www.patreon.com/pythonbytes"><strong>Patreon Supporters</strong></a></li> </ul> <p><strong>Michael #1:</strong> <a href="https://github.com/brentvollebregt/auto-py-to-exe"><strong>auto-py-to-exe</strong></a></p> <ul> <li>Converts .py to .exe using a simple graphical interface</li> <li>A good candidate to install via pipx</li> <li>For me, just point it at the top level app.py file and click go</li> <li>Can add icons, etc. </li> <li>Got a <strong>.app</strong> version and <strong>CLI</strong> version (I think 😉 ) </li> <li>Required brew install python-tk to get tkinter on my mac</li> <li>I tested it against my <a href="https://github.com/mikeckennedy/urlify/"><strong>URLify app</strong></a>.</li> <li>Oddly, only ran on Python 3.9 but not 3.10</li> </ul> <p><strong>Brian #2:</strong> <a href="https://mljar.com/blog/how-to-use-jupyter-notebook/"><strong>8 surprising ways how to use Jupyter Notebook</strong></a></p> <ul> <li>by Aleksandra Płońska, Piotr Płoński</li> <li>Fun romp through ways you can use and abuse notebooks <ul> <li>package development</li> <li>web app</li> <li>slides</li> <li>book</li> <li>blog</li> <li>report</li> <li>dashboard</li> <li>REST API</li> </ul></li> </ul> <p><strong>Michael #3:</strong> <a href="https://piptrends.com"><strong>piptrends</strong></a></p> <ul> <li>by Tankala Ashok</li> <li>Use <a href="https://piptrends.com">piptrends.com</a> for comparing python packages downloads and GitHub Statistics.</li> <li>Whenever doing research which python package, check multiple places to finalize it so thought of putting all those things in a single place.</li> <li>Inspired by <a href="http://npmtends.com">npmtends.com</a>.</li> </ul> <p><strong>Brian #4:</strong> <a href="https://treyhunner.com/2019/04/is-it-a-class-or-a-function-its-a-callable"><strong>Is it a class or a function? It's a callable!</strong></a></p> <ul> <li>by Trey Hunner</li> <li>It’s kinda hard to tell in Python. Actually, impossible to tell from staring at the calling code.</li> <li>“Of the 69 “built-in functions” listed in the Python Built-In Functions page, <strong>only 42 are actually implemented as functions</strong>: 26 are classes and 1 (<code>help</code>) is an instance of a callable class.</li> <li>Of the 26 classes among those built-in “functions”, four <em>were</em> actually functions in Python 2 (the now-lazy <code>map</code>, <code>filter</code>, <code>range</code>, and <code>zip</code>) but have since become classes.</li> <li>The Python built-ins and the standard library are both full of maybe-functions-maybe-classes.”</li> <li><code>len</code> - yep, that’s a function</li> <li><code>zip</code> - that’s a class</li> <li><code>reversed</code>, <code>enumerate</code>, <code>range</code>, and <code>filter</code> “functions” are all classes. But callable classes.</li> <li>Cool discussion of <ul> <li>callable objects</li> <li>partials, itemgetters, iterators, generators, factory functions</li> <li>…</li> </ul></li> </ul> <p><strong>Extras</strong> </p> <p>Brian:</p> <ul> <li><a href="https://nedbatchelder.com/text/which-py.html"><strong>What’s in which Python</strong></a> - Ned Batchelder <ul> <li>brief bullet list of a few memorable changes in versions 2.1 through 3.11</li> </ul></li> </ul> <p>Michael:</p> <ul> <li><a href="https://browser.kagi.com"><strong>Orion Browser</strong></a> via Dan Bader</li> <li>PSF 2021 Survey Results <a href="https://pyfound.blogspot.com/2022/06/python-developers-survey-2021-python-is.html"><strong>are out</strong></a> (full analysis next week)</li> </ul> <p><strong>Joke:</strong> <a href="https://twitter.com/LukeBMorey/status/1527209064090181633"><strong>async problems</strong></a></p>

Viewing all articles
Browse latest Browse all 22464

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>