Python Bytes: RatHole, UV Pre-Commit, and Migrating Blogs

·35m 46s
Shared point

Overview

In this episode, hosts Brian Okken and Michael Kennedy explore several developer-focused topics, ranging from tunneling utilities and workflow enhancements to website migration strategies and community news.

Technical Deep Dives

Networking with RatHole

Michael discusses RatHole, a high-performance alternative to ngrok written in Rust.
• It provides a secure, self-hosted tunneling solution for exposing local services to the internet.
• It is ideal for testing webhooks or debugging APIs locally.
• The tool is extremely resource-efficient, utilizing only about 11MB of memory.

Optimizing Tooling: Pre-commit and UV

Brian highlights a streamlined way to manage pre-commit hooks using UV.
• The project pre-commit-uv allows users to manage hook dependencies with the lightning-fast speed of UV.
• This improves performance for development workflows that rely on frequent linting and code quality checks.

Python 3.14: Functools Placeholder

Michael introduces a new functional programming feature coming to Python 3.14: the functools placeholder.
• This enhances functools.partial, allowing developers to create highly readable callbacks when positional parameters need to be skipped.

Content Management and Archiving

Migrating from WordPress to Hugo

Michael details his successful migration of 160+ historical blog posts from WordPress to a Hugo-based site.

"I sent in like SEAL Team 6 and we got it out without actually paying the ransom."

• By utilizing Agentic AI (Cursor), he automated the scraping of legacy content.
• He emphasized the importance of owning your own domain to avoid content loss when hosting services sunset, referencing the recent closure of TypePad.

Community Extras

SMS QR Codes: Seth Larson's tool that generates shareable QR codes for text messages, offering a fun way to interact with URLs.
Python Documentary: The hosts discuss the new Python Origin Story documentary and plan for potential community watch-alongs.
Humor: A classic developer joke about identifying the source of "bad code" in a repository—only to discover it was written by yourself.

Topics

Chapters

6 chapters
Python Bytes
AI chat — answers grounded in episodes