Python Bytes

By: Michael Kennedy and Brian Okken
  • Summary

  • Python Bytes is a weekly podcast hosted by Michael Kennedy and Brian Okken. The show is a short discussion on the headlines and noteworthy news in the Python, developer, and data science space.
    Copyright 2016-2025
    Show More Show Less
activate_mytile_page_redirect_t1
Episodes
  • #429 Nitpicking Python
    Apr 21 2025
    Topics covered in this episode: HulyCVE Foundation formed to take over CVE program from MITREdrawdb14 Advanced Python FeaturesExtrasJokeWatch on YouTube About the show Sponsored by Posit Workbench: pythonbytes.fm/workbench Connect with the hosts Michael: @mkennedy@fosstodon.org / @mkennedy.codes (bsky)Brian: @brianokken@fosstodon.org / @brianokken.bsky.socialShow: @pythonbytes@fosstodon.org / @pythonbytes.fm (bsky) Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too. 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 our friends of the show list, we'll never share it. Michael #1: Huly All-in-One Project Management Platform (alternative to Linear, Jira, Slack, Notion, Motion) If you're primarily interested in self-hosting Huly without the intention to modify or contribute to its development, please use huly-selfhost.Manage your tasks efficiently with Huly's bidirectional GitHub synchronization. Use Huly as an advanced front-end for GitHub Issues and GitHub Projects.Connect every element of your workflow to build a dynamic knowledge base.Everything you need for productive team work: Team Planner • Project Management • Virtual Office • Chat • Documents • InboxSelf hosting as a service: elest.io Brian #2: CVE Foundation formed to take over CVE program from MITRE Back story: CVE, global source of cybersecurity info, was hours from being cut by DHS The 25-year-old CVE program, an essential part of global cybersecurity, is cited in nearly any discussion or response to a computer security issue.CVE was at real risk of closure after its contract was set to expire on April 16.The nonprofit MITRE runs CVE on a contract with the DHS.A letter last Tuesday sent Tuesday by Yosry Barsoum, vice president of MITRE, gave notice of the potential halt to operations.Another possible victim of the current administration.CVE Foundation Launched to Secure the Future of the CVE Program CVE Board members have spent the past year developing a strategy to transition CVE to a dedicated, non-profit foundation. The new CVE Foundation will focus solely on continuing the mission of delivering high-quality vulnerability identification and maintaining the integrity and availability of CVE data for defenders worldwide.Over the coming days, the Foundation will release more information about its structure, transition planning, and opportunities for involvement from the broader community. Michael #3: drawdb Free and open source, simple, and intuitive database design editor, data-modeler, and SQL generator.Great drag-drop relationship managerDefine your DB visually, export as SQL create scriptsOr import existing SQL to kickstart the diagramming. Brian #4: 14 Advanced Python Features Edward LiPicking some favorites 1. Typing Overloads2. Keyword-only and Positional-only Arguments9. Python Nitpicks For-else statementsWalrus operatorShort Circuit EvaluationOperator Chaining Extras Michael: Thunderbird send / other firefox things. Joke: Python Tariffs Thanks wagenraceThanks Campfire Tales
    Show More Show Less
    27 mins
  • #428 How old is your Python?
    Apr 14 2025
    Topics covered in this episode: How to Write a Git Commit MessageCaddy Web ServerSome new PEPs approvedjuvExtrasJokeWatch on YouTube About the show Sponsored by Posit Connect: pythonbytes.fm/connect Connect with the hosts Michael: @mkennedy@fosstodon.org / @mkennedy.codes (bsky)Brian: @brianokken@fosstodon.org / @brianokken.bsky.socialShow: @pythonbytes@fosstodon.org / @pythonbytes.fm (bsky) Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too. 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 our friends of the show list, we'll never share it. Brian #1: How to Write a Git Commit Message Chris Beams7 rules of a great commit message Separate subject from body with a blank lineLimit the subject line to 50 charactersCapitalize the subject lineDo not end the subject line with a periodUse the imperative mood in the subject lineWrap the body at 72 charactersUse the body to explain what and why vs. howArticle also includes Why a good commit message mattersDiscussion about each of the 7 rulesCool hat tips to other articles on the subject “Keep in mind: This has all been said before.”Each word is a different link. Michael #2: Caddy Web Server via Fredrik MellströmLike a more modern NGINXCaddy automatically obtains and renews TLS certificates for all your sites.Caddy's native configuration is a JSON document.Even localhost and internal IPs are served with TLS using the intermediate of a fully-automated, self-managed CA that is automatically installed into most local trust stores.Configure multiple Caddy instances with the same storage, and they will automatically coordinate certificate management as a fleet.Production-grade static file server. Brian #3: Some new PEPs approved PEP 770 – Improving measurability of Python packages with Software Bill-of-Materials Accepted for packagingAuthor: Seth Larson, Sponsor Brett Cannon“This PEP proposes using SBOM documents included in Python packages as a means to improve automated software measurability for Python packages.”PEP 750 – Template Strings Accepted for Python 3.14Author: Jim Baker, Guido van Rossum, Paul Everitt, Kaudai Aono, Lysandros Nikolaou, Dave Peck“Templates provide developers with access to the string and its interpolated values before they are combined. This brings native flexible string processing to the Python language and enables safety checks, web templating, domain-specific languages, and more.” Michael #4: juv A toolkit for reproducible Jupyter notebooks, powered by uv. Create, manage, and run Jupyter notebooks with their dependencies Pin dependencies with PEP 723 - inline script metadata Launch ephemeral sessions for multiple front ends (e.g., JupyterLab, Notebook, NbClassic) Powered by uv for fast dependency managementUse uvx to run jupyterlab with ephemeral virtual environments and tracked dependencies. Extras Brian: Status of Python versions new-ish formatUse this all the time. Can’t remember if we’ve covered the new format yet.See also Python endoflife.date Same dates, very visible encouragement to move on to Python 3.13 if you haven’t already. Michael: Python 3.13.3 is out..git-blame-ignore-revs follow up Joke: BGPT (thanks Doug Farrell)
    Show More Show Less
    31 mins
  • #427 Rise of the Python Lord
    Apr 7 2025
    Topics covered in this episode: Git Town solves the problem that using the Git CLI correctlyPEP 751 – A file format to record Python dependencies for installation reproducibility git-who and watchghaShare Python Scripts Like a Pro: uv and PEP 723 for Easy DeploymentExtrasJokeWatch on YouTube About the show Sponsored by Posit Package Manager: pythonbytes.fm/ppm Connect with the hosts Michael: @mkennedy@fosstodon.org / @mkennedy.codes (bsky)Brian: @brianokken@fosstodon.org / @brianokken.bsky.socialShow: @pythonbytes@fosstodon.org / @pythonbytes.fm (bsky) Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too. 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 our friends of the show list, we'll never share it. Michael #1: Git Town solves the problem that using the Git CLI correctly Git Town is a reusable implementation of Git workflows for common usage scenarios like contributing to a centralized code repository on platforms like GitHub, GitLab, or Gitea. Think of Git Town as your Bash scripts for Git, but fully engineered with rock-solid support for many use cases, edge cases, and error conditions.Keep using Git the way you do now, but with extra commands to create various branch types, keep them in sync, compress, review, and ship them efficiently.Basic workflow Commands to create, work on, and ship features. git town hack - create a new feature branchgit town sync - update the current branch with all ongoing changesgit town switch - switch between branches visuallygit town propose - propose to ship a branchgit town ship - deliver a completed feature branchAdditional workflow commands Commands to deal with edge cases. git town delete - delete a feature branchgit town rename - rename a branchgit town repo - view the Git repository in the browser Brian #2: PEP 751 – A file format to record Python dependencies for installation reproducibility AcceptedFrom Brett Cannon “PEP 751 has been accepted! This means Python now has a lock file standard that can act as an export target for tools that can create some sort of lock file. And for some tools the format can act as their primary lock file format as well instead of some proprietary format.”File name: pylock.toml or at least something that starts with pylock and ends with .tomlIt’s exciting to see the start of a standardized lock file Michael #3: git-who and watchgha git-who is a command-line tool for answering that eternal question: Who wrote this code?!Unlike git blame, which can tell you who wrote a line of code, git-who tells you the people responsible for entire components or subsystems in a codebase. You can think of git-who sort of like git blame but for file trees rather than individual files. And watchgha - Live display of current GitHub action runs by Ned Batchelder Brian #4: Share Python Scripts Like a Pro: uv and PEP 723 for Easy Deployment Dave JohnsonNice full tutorial discussing single file Python scripts using uv with external dependencies Starting with a script with dependencies.Using uv add --script [HTML_REMOVED] [HTML_REMOVED] to add a /// script block to the topUsing uv runAdding #!/usr/bin/env -S uv run --script shebangEven some Windows advice Extras Brian: April 1 pranks done well BREAKING: Guido van Rossum Returns as Python’s BDFL including Brett Cannon noted as “Famous Python Quotationist”Guido taking credit for “I came for the language but I stayed for the community” which was from Brettthen Brett’s title of “Famous Python Quotationist” is crossed out.Barry Warsaw asking Guido about releasing Python 2.8 Barry is the FLUFL, “Friendly Language Uncle For Life “Mariatta can’t get Guido to respond in chat until she addresses him as “my lord”.“… becoming one with whitespace.”“Indentation is Enlightenment” Upcoming new keyword: maybe Like “if” but more Pythonicas in Maybe: print("Python The Documentary - Coming This Summer!")I’m really hoping there is a documentaryApril 1 pranks done poorly Note: pytest-repeat works fine with Python 3.14, and never had any problemsIf you have to explain the joke, maybe it’s not funny.The explanation pi, an irrational number, as in it cannot be expressed by a ratio of two integers, starts with 3.14159 and then keeps going, and never repeats.Python 3.14 is in alpha and people could be testing with it for packagesTest & Code is doing a series on pytest pluginspytest-repeat is a pytest plugin, and it happened to not have any tests for 3.14 yet.Now the “joke”. I pretended that I had tried pytest-repeat with Python 3.14 and it didn’t work.Test & Code: Python 3.14 won't repeat with pytest-repeatThus, Python 3.14 won’t repeat.Also I mentioned that there was no “rational” explanation.And pi is an irrational number. Michael: pysqlscribe v0.5.0 has the “parse create scripts” feature I ...
    Show More Show Less
    37 mins

What listeners say about Python Bytes

Average Customer Ratings
Overall
  • 5 out of 5 stars
  • 5 Stars
    1
  • 4 Stars
    0
  • 3 Stars
    0
  • 2 Stars
    0
  • 1 Stars
    0
Performance
  • 5 out of 5 stars
  • 5 Stars
    1
  • 4 Stars
    0
  • 3 Stars
    0
  • 2 Stars
    0
  • 1 Stars
    0
Story
  • 5 out of 5 stars
  • 5 Stars
    1
  • 4 Stars
    0
  • 3 Stars
    0
  • 2 Stars
    0
  • 1 Stars
    0

Reviews - Please select the tabs below to change the source of reviews.

In the spirit of reconciliation, Audible acknowledges the Traditional Custodians of country throughout Australia and their connections to land, sea and community. We pay our respect to their elders past and present and extend that respect to all Aboriginal and Torres Strait Islander peoples today.