Articles
Timing Python function calls with a custom logging decoratorWhen a Python application starts to feel sluggish, the first instinct is often to guess where the slowdown lives. Guessing, however, is rarely productive. A…
Building a Persistent Key-Value Store for CLI Tools with Python sqlite3CLI utilities rarely stay stateless for long. A Brisbane developer writing a daily nginx-log helper quickly wants it to remember yesterday's findings; a…
Building A Python Network Diagram Generator From Routing TablesA routing table is a compact description of how packets leave a host or router, but it is difficult to understand when viewed as a long command-line listing. A…
Building a Python Tool for Local X.509 Certificate GenerationSetting up HTTPS in a local development environment has been a recurring headache for years. Browsers refuse to trust self-signed certificates, curl floods the…
Building a Python script that reformats Python source with autopep8Working through a legacy codebase often feels like untangling extension cords behind a desk. Spacing drifts, indentation slips, and line lengths wander…
Building a Simple Statistics API with Python BaseHTTPServerWhen developers maintain open-source tools, exposing project statistics through a programmatic interface can transform how users and contributors interact with…
Crafting a Tailored Log Level Filter in Python's Standard LibraryPython's built-in logging module ships with a deceptively simple hook for shaping which records actually reach your handlers. The Filter class sits quietly…
Build a Python IP overlap checker for reliable security analysisComparing two lists of IP addresses sounds simple: read both files, find values that appear in each, and print the matches. In practice, production data…
Measuring network jitter with Python on Australian connectionsAustralia's broadband landscape is unlike anywhere else on Earth. The National Broadband Network rolls out a patchwork of fibre-to-the-premises,…
Python pathlib for Cleaner File Path Operations Across ProjectsFor years, my open-source work meant juggling the quirks of file paths across Linux servers, macOS workstations, and the occasional Windows box. DenyHosts,…
