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

Python Bytes: #431 Nerd Gas

$
0
0
<strong>Topics covered in this episode:</strong><br> <ul> <li><strong><a href="https://github.com/RafaelWO/pirel?featured_on=pythonbytes"> pirel: Python release cycle in your terminal</a></strong></li> <li><a href="https://fastapicloud.com?featured_on=pythonbytes"><strong>FastAPI Cloud</strong></a></li> <li><strong><a href="https://davepeck.org/2025/04/11/pythons-new-t-strings/?featured_on=pythonbytes">Python's new t-strings</a></strong></li> <li><strong>Extras</strong></li> <li><strong>Joke</strong></li> </ul><a href='https://www.youtube.com/watch?v=WaWjUlgWpBo' style='font-weight: bold;'data-umami-event="Livestream-Past" data-umami-event-episode="431">Watch on YouTube</a><br> <p><strong>About the show</strong></p> <p>Sponsored by <strong>NordLayer</strong>: <a href="https://pythonbytes.fm/nordlayer"><strong>pythonbytes.fm/nordlayer</strong></a></p> <p><strong>Connect with the hosts</strong></p> <ul> <li>Michael: <a href="https://fosstodon.org/@mkennedy"><strong>@mkennedy@fosstodon.org</strong></a> <strong>/</strong> <a href="https://bsky.app/profile/mkennedy.codes?featured_on=pythonbytes"><strong>@mkennedy.codes</strong></a> <strong>(bsky)</strong></li> <li>Brian: <a href="https://fosstodon.org/@brianokken"><strong>@brianokken@fosstodon.org</strong></a> <strong>/</strong> <a href="https://bsky.app/profile/brianokken.bsky.social?featured_on=pythonbytes"><strong>@brianokken.bsky.social</strong></a></li> <li>Show: <a href="https://fosstodon.org/@pythonbytes"><strong>@pythonbytes@fosstodon.org</strong></a> <strong>/</strong> <a href="https://bsky.app/profile/pythonbytes.fm"><strong>@pythonbytes.fm</strong></a> <strong>(bsky)</strong></li> </ul> <p>Join us on YouTube at <a href="https://pythonbytes.fm/stream/live"><strong>pythonbytes.fm/live</strong></a> to be part of the audience. Usually <strong>Monday</strong> at 10am PT. Older video versions available there too.</p> <p>Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to <a href="https://pythonbytes.fm/friends-of-the-show">our friends of the show list</a>, we'll never share it.</p> <p><strong>Michael #1:</strong><a href="https://github.com/RafaelWO/pirel?featured_on=pythonbytes"> pirel: Python release cycle in your terminal</a></p> <ul> <li>pirel check shows release information about your active Python interpreter.</li> <li>If the active version is end-of-life, the program exits with code 1. If no active Python interpreter is found, the program exits with code 2.</li> <li>pirel list lists all Python releases in a table. Your active Python interpreter is highlighted.</li> <li>A picture is worth many words</li> </ul> <p><img src="https://blobs.pythonbytes.fm/pirel-cli-demo.gif" alt="" /></p> <p><strong>Brian #2:</strong> <a href="https://fastapicloud.com?featured_on=pythonbytes"><strong>FastAPI Cloud</strong></a></p> <ul> <li>Sebastián Ramírez, creator of FastAPI, <a href="https://bsky.app/profile/tiangolo.com/post/3lognxjvw4225?featured_on=pythonbytes">announced today</a> the formation of a new Company, FastAPI Cloud.</li> <li>Here’s the announcement blog post: <a href="https://fastapicloud.com/blog/fastapi-cloud-by-the-same-team-behind-fastapi?featured_on=pythonbytes">FastAPI Cloud - By The Same Team Behind FastAPI</a></li> <li>There’s a wait list to try it out.</li> <li>Promises to turns deployment into fastapi login; fastapi deploy</li> <li>Side note: announcement includes quote from Daft Punk: Build Harder, Better, Faster, Stronger <ul> <li>I just included this in a talk I’m gave last week (and will again next week), where I modify this to “Build Easier, Better, Faster, Stronger”</li> <li>Sebastian and I are both fans of the rocket emoji.</li> </ul></li> <li>BTW, <a href="https://pythonbytes.fm/episodes/show/123/time-to-right-the-py-wrongs">we first covered FastAPI on episode 123 in 2019</a></li> </ul> <p><strong>Brian #3:</strong> <a href="https://davepeck.org/2025/04/11/pythons-new-t-strings/?featured_on=pythonbytes">Python's new t-strings</a></p> <ul> <li>Dave Peck, one of the authors of PEP 750, which will go into Python 3.14</li> <li>We covered t-strings in <a href="https://pythonbytes.fm/episodes/show/428/how-old-is-your-python">ep 428</a></li> <li>In article <ul> <li>t-strings security benefits over f-strings</li> <li>How to work with t-strings</li> <li>A Pig Latin example <ul> <li>Also, I think I have always done this wrong</li> <li>Is it the first consonant to the end? or the first consonant cluster?</li> <li>So… Brian → Rianbay? or Ianbray?</li> <li>BTW, this is an example of nerdgassing</li> </ul></li> <li>What’s next once t-strings ship?</li> </ul></li> <li>On thing that’s next (in Python 3.15, maybe, is using t-strings in shlex and subprocess) <ul> <li><a href="https://peps.python.org/pep-0787/?featured_on=pythonbytes">PEP 787 – Safer subprocess usage using t-strings</a> deferred to 3.15</li> </ul></li> </ul> <p><strong>Michael #4</strong>: <a href="https://github.com/dtnewman/zev?featured_on=pythonbytes">zev</a></p> <ul> <li>A simple CLI tool to help you remember terminal commands.</li> <li><p>Examples:</p> <pre><code># Find running processes zev 'show all running python processes' # File operations zev 'find all .py files modified in the last 24 hours' # System information zev 'show disk usage for current directory' # Network commands zev 'check if google.com is reachable' # Git operations zev 'show uncommitted changes in git' </code></pre></li> <li><p>Again, picture worth many words:</p></li> </ul> <p><img src="https://blobs.pythonbytes.fm/zev-demo.gif" alt="" /></p> <p><strong>Extras</strong> </p> <p>Brian:</p> <ul> <li><a href="https://arstechnica.com/culture/2025/04/monty-python-and-the-holy-grail-turns-50/?featured_on=pythonbytes">Holy Grail turns 50</a></li> <li><a href="https://whatever.scalzi.com/2008/06/03/nerdgassing-i-coin-this-word-in-the-name-of-humanity/?featured_on=pythonbytes">nerdgassing</a></li> </ul> <p>Michael:</p> <ul> <li>Transcripts are a bit better now.</li> <li>Zen <a href="https://zen-browser.app/release-notes/#1.12.1b">is better now</a></li> </ul> <p><strong>Joke:</strong> <a href="https://x.com/PR0GRAMMERHUM0R/status/1915103409062978033?featured_on=pythonbytes">Can my friend come in?</a></p>

Viewing all articles
Browse latest Browse all 23596

Trending Articles



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