All Episodes

September 8, 2025 39 mins
Topics covered in this episode:
Watch on YouTube

About the show

Sponsored by us! Support our work through:

Connect with the hosts

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: prek

  • Suggested by Owen Lamont
  • prek is a reimagined version of pre-commit, built in Rust. It is designed to be a faster, dependency-free and drop-in alternative for it, while also providing some additional long-requested features.”
  • Some cool new features
    • No need to install Python or any other runtime, just download a single binary.
    • No hassle with your Python version or virtual environments, prek automatically installs the required Python version and creates a virtual environment for you.
    • Built-in support for workspaces (or monorepos), each subproject can have its own .pre-commit-config.yaml file.
    • prek run has some nifty improvements over pre-commit run, such as:
      • prek run --directory DIR runs hooks for files in the specified directory, no need to use git ls-files -- DIR | xargs pre-commit run --files anymore.
      • prek run --last-commit runs hooks for files changed in the last commit.
      • prek run [HOOK] [HOOK] selects and runs multiple hooks.
    • prek list command lists all available hooks, their ids, and descriptions, providing a better overview of the configured hooks.
    • prek provides shell completions for prek run HOOK_ID command, making it easier to run specific hooks without remembering their ids.
  • Faster:

Michael #2: tinyio

  • Ever used asyncio and wished you hadn't? A tiny (~300 lines) event loop for Python.
  • tinyio is a dead-simple event loop for Python, born out of my frustration with trying to get robust error handling with asyncio. (I'm not the only one running into its sharp corn
Mark as Played

Advertise With Us

Popular Podcasts

Stuff You Should Know
Dateline NBC

Dateline NBC

Current and classic episodes, featuring compelling true-crime mysteries, powerful documentaries and in-depth investigations. Follow now to get the latest episodes of Dateline NBC completely free, or subscribe to Dateline Premium for ad-free listening and exclusive bonus content: DatelinePremium.com

The Breakfast Club

The Breakfast Club

The World's Most Dangerous Morning Show, The Breakfast Club, With DJ Envy, Jess Hilarious, And Charlamagne Tha God!

Music, radio and podcasts, all free. Listen online or download the iHeart App.

Connect

© 2025 iHeartMedia, Inc.